Vince's CSV Parser
Loading...
Searching...
No Matches
thread_safe_deque.hpp File Reference

Thread-safe deque for producer-consumer patterns. More...

#include <atomic>
#include <condition_variable>
#include <deque>
#include <mutex>

Go to the source code of this file.

Classes

class  csv::internals::ThreadSafeDeque< T >
 A std::deque wrapper which allows multiple read and write threads to concurrently access it along with providing read threads the ability to wait for the deque to become populated. More...
 

Namespaces

namespace  csv
 The all encompassing namespace.
 
namespace  csv::internals
 Stuff that is generally not of interest to end-users.
 

Detailed Description

Thread-safe deque for producer-consumer patterns.

Generic container used for cross-thread communication in the CSV parser. Parser thread pushes rows, main thread pops them.

Definition in file thread_safe_deque.hpp.