Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 361 Bytes

thread_local_queue.hpp.adoc

File metadata and controls

14 lines (11 loc) · 361 Bytes
#include <boost/synapse/thread_local_queue.hpp>
namespace boost { namespace synapse {

    struct thread_local_queue;
    shared_ptr<thread_local_queue> create_thread_local_queue();

    int poll( thread_local_queue & q );
    int wait( thread_local_queue & q );
    void post( thread_local_queue & q, function<void()> const & f );

} }