8.1 interprocommqueue.pdf

(182 KB) Pobierz
Inter process communication using queue
Data
flag.
put(i)
get()
lock
Producer
Consumer
Data
condition
Consumer
Producer
In data we can keep only value but in queue we can keep multiple values.
We give producer for producing the data and consumer to consume the data
The queue has methods like put( ) and get()
Zgłoś jeśli naruszono regulamin