Lines Matching refs:consumer
15 (2) Memory barriers for when the producer and the consumer of objects in the
19 producer and just one consumer. It is possible to handle multiple producers by
31 - The consumer.
44 (2) A 'tail' index - the point at which the consumer finds the next item in
115 but the consumer may still be depleting the buffer on another CPU and
118 To the consumer it will show an upper bound as the producer may be busy
121 (2) CIRC_CNT*() are intended to be used in the consumer. To the consumer they
122 will return a lower bound as the consumer controls the tail index, but the
126 To the producer it will show an upper bound as the consumer may be busy
130 producer and consumer become visible cannot be guaranteed as they are
146 consumer that empties it. Only one thing should be filling a buffer at any one
173 wake_up(consumer);
179 before the head index makes it available to the consumer and then instructs the
180 CPU that the revised head index must be written before the consumer is woken.
186 element currently being read by the consumer. Therefore, the unlock-lock
187 pair between consecutive invocations of the consumer provides the necessary
188 ordering between the read of the index indicating that the consumer has
195 The consumer will look something like this::