cwidget  0.5.16
Public Member Functions | List of all members
cwidget::threads::box< void > Class Template Reference

A box specialized for 'void'; may make it easier to write other templated classes. More...

#include <threads.h>

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)

Detailed Description

template<>
class cwidget::threads::box< void >

A box specialized for 'void'; may make it easier to write other templated classes.

Could maybe just be a mutex, but I don't think you can quite mimic the box API that way.


The documentation for this class was generated from the following file: