diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-21 16:51:54 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-07 11:37:07 -0400 |
| commit | 363e24c65140d07c2ced580698bd1427c6b99a55 (patch) | |
| tree | 9fa78138b63b883535e8b1a8f099d7fd721eb17a /lib/json.c | |
| parent | e8f95403e4b4d55c605ef49a0d772f30834134a4 (diff) | |
lib: add mt-safe variants for stream_fifo ops
stream_fifo is used as our standard internal message queue. Message
queues are useful in multithreaded environments. Up until now I have
been doing my own synchronization when using stream_fifo in this way;
this patch gets rid of the need for that boilerplate and decreases the
risk of locking mistakes when working with this datastructure.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
