activemq-cpp-3.6.0
decaf::internal::util::concurrent Namespace Reference

Data Structures

class  Atomics
class  ExecutorsSupport
 Various support methods for use in Executors and surrounding classes. More...
class  PlatformThread
class  SynchronizableImpl
 A convenience class used by some Decaf classes to implement the Synchronizable interface when there is no issues related to multiple inheritance. More...
class  Threading
struct  ThreadHandle
struct  MonitorHandle
class  CompletionCondition
class  ThreadLocalImpl
class  Transferer
 Shared internal API for dual stacks and queues. More...
class  TransferQueue
 This extends Scherer-Scott dual queue algorithm, differing, among other ways, by using modes within nodes rather than marked pointers. More...
class  TransferStack
struct  RWLOCK

Typedefs

typedef
PLATFORM_THREAD_CALLBACK_TYPE(PLATFORM_CALLING_CONV
threadMainMethod )(PLATFORM_THREAD_ENTRY_ARG)
 This is the main method for thread instances, this value is valid on any platform, the PlatformThread methods will handle calling this method and providing it with its assigned arg.
typedef void(* threadingTask )(void *)
 The ThreadHandle contains one of these and it should be the method that does the actual work for the thread.
typedef void * PLATFORM_THREAD_ENTRY_ARG
typedef pthread_t decaf_thread_t
typedef pthread_key_t decaf_tls_key
typedef pthread_cond_t * decaf_condition_t
typedef pthread_mutex_t * decaf_mutex_t
typedef pthread_rwlock_t * decaf_rwmutex_t

Typedef Documentation

typedef void(* decaf::internal::util::concurrent::threadingTask)(void *)

The ThreadHandle contains one of these and it should be the method that does the actual work for the thread.

typedef PLATFORM_THREAD_CALLBACK_TYPE(PLATFORM_CALLING_CONV * decaf::internal::util::concurrent::threadMainMethod)(PLATFORM_THREAD_ENTRY_ARG)

This is the main method for thread instances, this value is valid on any platform, the PlatformThread methods will handle calling this method and providing it with its assigned arg.

Parameters
argA void* that was given when the thread was started.