vSMC
vSMC: Scalable Monte Carlo
|
A private dispatch queue (dispatch_queue_create
)
More...
#include <vsmc/gcd/dispatch_queue.hpp>
Public Member Functions | |
DispatchQueue (const char *label=nullptr,::dispatch_queue_attr_t attr=nullptr) | |
![]() | |
void | after (::dispatch_time_t when,::dispatch_block_t block) const |
void | after_f (::dispatch_time_t when, void *context,::dispatch_function_t f) const |
void | apply (std::size_t iterations, void(^block)(std::size_t)) const |
void | apply_f (std::size_t iterations, void *context, void(*work)(void *, std::size_t)) const |
void | async (::dispatch_block_t block) const |
void | async_f (void *context,::dispatch_function_t work) const |
void | barrier_async (::dispatch_block_t block) const |
void | barrier_async_f (void *context,::dispatch_function_t work) const |
void | barrier_sync (::dispatch_block_t block) const |
void | barrier_sync_f (void *context,::dispatch_function_t work) const |
const char * | get_label () const |
void * | get_specific (const void *key) const |
void | resume () const |
void | set_specific (const void *key, void *context,::dispatch_function_t destructor) const |
template<typename DispatchType > | |
void | set_target_queue (const DispatchObject< DispatchType > &object) const |
void | set_target_queue (::dispatch_object_t object) const |
void | suspend () const |
void | sync (::dispatch_block_t block) const |
void | sync_f (void *context,::dispatch_function_t work) const |
![]() | |
DispatchObject (const ::dispatch_queue_t &object, bool retained) | |
Create a DispatchObject from its C-type object. More... | |
DispatchObject (const DispatchObject< ::dispatch_queue_t > &other) | |
DispatchObject (DispatchObject< ::dispatch_queue_t > &&other) | |
~DispatchObject () | |
void * | get_context () const |
::dispatch_queue_t | object () const |
Return the underlying Dispatch object. More... | |
void | object (::dispatch_queue_tobj) |
Set the underlying Dispatch object and retain it. More... | |
DispatchObject< ::dispatch_queue_t > & | operator= (const DispatchObject< ::dispatch_queue_t > &other) |
DispatchObject< ::dispatch_queue_t > & | operator= (DispatchObject< ::dispatch_queue_t > &&other) |
void | set_context (void *context) const |
void | set_finalizer_f (::dispatch_function_t finalizer) const |
Additional Inherited Members | |
![]() | |
DispatchQueueBase (::dispatch_queue_t queue, bool retained) | |
A private dispatch queue (dispatch_queue_create
)
Definition at line 162 of file dispatch_queue.hpp.
|
inline |
Definition at line 166 of file dispatch_queue.hpp.