18 #ifndef _DECAF_INTERNAL_UTIL_CONCURRENT_PLATFORMTHREAD_H_ 19 #define _DECAF_INTERNAL_UTIL_CONCURRENT_PLATFORMTHREAD_H_ 30 namespace concurrent {
89 long long mills,
int nanos);
117 static void initPriorityMapping(
int maxPriority, std::vector<int>& mapping);
120 int priority,
long long stackSize,
long long* threadId);
128 static void exitThread();
134 static long long getCurrentThreadId();
142 static void setStackSize(
decaf_thread_t thread,
long long stackSize);
Definition: ThreadingTypes.h:107
pthread_mutex_t * decaf_mutex_t
Definition: PlatformDefs.h:59
pthread_t decaf_thread_t
Definition: PlatformDefs.h:56
pthread_cond_t * decaf_condition_t
Definition: PlatformDefs.h:58
#define DECAF_API
Definition: Config.h:29
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.
Definition: ThreadingTypes.h:51
pthread_rwlock_t * decaf_rwmutex_t
Definition: PlatformDefs.h:60
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25
pthread_key_t decaf_tls_key
Definition: PlatformDefs.h:57