3 #ifndef CDSLIB_USER_SETUP_THREADING_MODEL_H
4 #define CDSLIB_USER_SETUP_THREADING_MODEL_H
9 CDS_THREADING_AUTODETECT - auto-detect appropriate threading model (default)
11 CDS_THREADING_MSVC - use MS Visual C++ declspec( thread ) declaration to mantain thread-specific data
13 CDS_THREADING_WIN_TLS - use Windows TLS API to mantain thread-specific data
15 CDS_THREADING_GCC - use GCC __thread keyword to mantain thread-specific data
17 CDS_THREADING_PTHREAD - use cds::Threading::Manager implementation based on pthread thread-specific
18 data functions pthread_getspecific/pthread_setspecific
20 CDS_THREADING_USER_DEFINED - use user-defined threading model
22 #define CDS_THREADING_AUTODETECT
24 #endif // #ifndef CDSLIB_USER_SETUP_THREADING_MODEL_H