Use a shared queue of X items - One thread adds items at random times - The other thread pulls at random times - They need to synchronize when the queue is full (producer) or empty (consumer)!
mbed-os.lib@0:180517623995, 2018-11-29 (annotated)
- Committer:
- vicara
- Date:
- Thu Nov 29 17:08:02 2018 +0000
- Revision:
- 0:180517623995
Use a shared queue of X items; - One thread adds items at random times; - The other thread pulls at random times; - They need to synchronize when the; queue is full (producer) or empty; (consumer)!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vicara | 0:180517623995 | 1 | https://github.com/armmbed/mbed-os/#bf6f2c3c6434a6de9eb9511feffa5948b3d1f20f |