Removed DUSK_ prefix
This commit is contained in:
@@ -18,7 +18,7 @@ void threadInit(thread_t *thread, const threadcallback_t callback) {
|
||||
thread->state = THREAD_STATE_STOPPED;
|
||||
thread->callback = callback;
|
||||
|
||||
#if DUSK_THREAD_PTHREAD
|
||||
#if THREAD_PTHREAD
|
||||
thread->threadId = 0;
|
||||
#endif
|
||||
}
|
||||
@@ -30,7 +30,7 @@ void threadStartRequest(thread_t *thread) {
|
||||
thread->state = THREAD_STATE_STARTING;
|
||||
threadMutexUnlock(&thread->stateMutex);
|
||||
|
||||
#if DUSK_THREAD_PTHREAD
|
||||
#if THREAD_PTHREAD
|
||||
assertTrue(thread->threadId == 0, "Thread id not 0.");
|
||||
|
||||
pthread_create(
|
||||
@@ -93,7 +93,7 @@ bool_t threadShouldStop(thread_t *thread) {
|
||||
return state;
|
||||
}
|
||||
|
||||
#if DUSK_THREAD_PTHREAD
|
||||
#if THREAD_PTHREAD
|
||||
void * threadHandler(thread_t *thread) {
|
||||
assertNotNull(thread, "Thread cannot be NULL.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user