LibraryLink Utilities  3.0.1
Modern C++ wrapper over LibraryLink and WSTP
Queue.h File Reference

Definition and implementation of a thread-safe queue, taken from A. Williams "C++ Concurrency in Action" 2nd Edition, chapter 6. More...

Detailed Description

Definition and implementation of a thread-safe queue, taken from A. Williams "C++ Concurrency in Action" 2nd Edition, chapter 6.

Author
Rafal Chojna rafal.nosp@m.c@wo.nosp@m.lfram.nosp@m..com
#include <condition_variable>
#include <memory>
#include <mutex>
+ Include dependency graph for Queue.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLU::Async::ThreadsafeQueue< T >
 ThreadsafeQueue is a linked list of nodes which supports safe concurrent access to its head (removing elements) and tail (adding new elements). More...
 

Namespaces

 LLU
 Main namespace of LibraryLink Utilities.