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
117 but the consumer may still be depleting the buffer on another CPU and
120 To the consumer it will show an upper bound as the producer may be busy
123 [2] CIRC_CNT*() are intended to be used in the consumer. To the consumer they
124 will return a lower bound as the consumer controls the tail index, but the
128 To the producer it will show an upper bound as the consumer may be busy
132 producer and consumer become visible cannot be guaranteed as they are
150 consumer that empties it. Only one thing should be filling a buffer at any one
177 wake_up(consumer);
183 before the head index makes it available to the consumer and then instructs the
184 CPU that the revised head index must be written before the consumer is woken.
190 element currently being read by the consumer. Therefore, the unlock-lock
191 pair between consecutive invocations of the consumer provides the necessary
192 ordering between the read of the index indicating that the consumer has
199 The consumer will look something like this: