Wire Sysio Wire Sysion 1.0.0
|
#include <variant_stream.hpp>
Public Member Functions | |
variant_stream (size_t s) | |
~variant_stream () | |
int64_t | free () |
int64_t | claim (int64_t num) |
int64_t | publish (int64_t pos) |
int64_t | wait_free () |
variant & | get (int64_t pos) |
int64_t | begin () |
int64_t | end () |
int64_t | wait () |
Thread-safe, circular buffer for passing variants between threads.
Definition at line 10 of file variant_stream.hpp.
fc::variant_stream::variant_stream | ( | size_t | s | ) |
fc::variant_stream::~variant_stream | ( | ) |
int64_t fc::variant_stream::begin | ( | ) |
consumer api
int64_t fc::variant_stream::end | ( | ) |
int64_t fc::variant_stream::free | ( | ) |
producer api
int64_t fc::variant_stream::wait | ( | ) |
int64_t fc::variant_stream::wait_free | ( | ) |