threads(3)
| threads(3) | Coin | threads(3) |
NAME
threads
SYNOPSIS
Typedefs
typedef struct cc_thread cc_thread
The type definition for the thread structure. typedef struct cc_mutex
cc_mutex
The type definition for the mutex structure. typedef struct cc_rwmutex
cc_rwmutex
The type definition for the read-write mutex structure. typedef struct
cc_storage cc_storage
The type definition for the thread local memory storage structure. typedef
struct cc_condvar cc_condvar
The type definition for the conditional variable structure. typedef struct
cc_worker cc_worker
The type definition for the worker thread structure. typedef struct cc_wpool
cc_wpool
The type definition for a worker pool structure. typedef struct cc_recmutex
cc_recmutex
The type definition for the recursive mutex structure. typedef struct cc_sched
cc_sched
The type definition for the thread schduler structure. typedef struct cc_fifo
cc_fifo
The type definition for the first-in, first-out queue structure. typedef
struct cc_barrier cc_barrier
The type definition for the thread barrier structure.
Enumerations
enum cc_threads_implementation { CC_NO_THREADS = -1,
CC_PTHREAD = 0, CC_W32THREAD }
The definition of the enumerator for identification of the thread type
implemented. enum cc_retval { CC_ERROR = 0, CC_OK = 1,
CC_TIMEOUT, CC_BUSY }
The enumerator for return values of thread related functions. enum
cc_precedence { CC_READ_PRECEDENCE, CC_WRITE_PRECEDENCE
}
The precedence values for the read-write mutex.
Detailed Description
Coin implements a set of abstractions over the native threads data types that can be portably used across all the platforms Coin has been ported to.
Enumeration Type Documentation
enum enum cc_threads_implementation cc_threads_implementation
The definition of the enumerator for identification of the thread type implemented. The type definition for the implemented thread enumerator.
{ CC_NO_THREADS = -1, CC_PTHREAD = 0, CC_W32THREAD }
enum enum cc_retval cc_retval
The enumerator for return values of thread related functions. The type definition for the return value enumerator.
{ CC_ERROR = 0, CC_OK = 1, CC_TIMEOUT, CC_BUSY }
enum enum cc_precedence cc_precedence
The precedence values for the read-write mutex. The type definition of the cc_precedence enumerator.
{CC_READ_PRECEDENCE, CC_WRITE_PRECEDENCE}
CC_READ_PRECEDENCE is the default.
Author
Generated automatically by Doxygen for Coin from the source code.
| Mon May 31 2021 | Version 4.0.0 |
