|
Public Member Functions |
| box (bool _filled) |
void | take () |
void | put () |
bool | try_take () |
bool | try_put () |
bool | timed_take (const timespec &until) |
bool | timed_put (const timespec &until) |
template<typename Mutator> |
void | update (const Mutator &m) |
Could maybe just be a mutex, but I don't think you can quite mimic the box API that way.