Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
common.h File Reference
#include <Inventor/C/basic.h>

Go to the source code of this file.

Typedefs

typedef struct cc_sched cc_sched
 The type definition for the thread schduler structure.
 
typedef struct cc_wpool cc_wpool
 The type definition for a worker pool structure.
 
typedef struct cc_worker cc_worker
 The type definition for the worker thread structure.
 
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_condvar cc_condvar
 The type definition for the conditional variable structure.
 
typedef struct cc_storage cc_storage
 The type definition for the thread local memory storage 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.
 
typedef struct cc_recmutex cc_recmutex
 The type definition for the recursive mutex structure.
 
typedef enum cc_precedence cc_precedence
 
typedef enum cc_threads_implementation cc_threads_implementation
 
typedef enum cc_retval cc_retval
 

Enumerations

enum  cc_precedence { CC_READ_PRECEDENCE, CC_WRITE_PRECEDENCE }
 The precedence values for the read-write mutex. More...
 
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. More...
 
enum  cc_retval { CC_ERROR = 0, CC_OK = 1, CC_TIMEOUT, CC_BUSY }
 The enumerator for return values of thread related functions. More...
 

Functions

int cc_thread_implementation (void)
 

Function Documentation

◆ cc_thread_implementation()

int cc_thread_implementation ( void  )

Returns the implemented thread type.