CACAO
Macros | Functions | Variables
thread-posix.hpp File Reference

Go to the source code of this file.

Macros

#define THREADOBJECT   thread_current
 

Functions

static threadobjectthread_get_current (void)
 Return the Thread object of the current thread. More...
 
static void thread_set_current (threadobject *t)
 Set the current Thread object. More...
 

Variables

__thread threadobjectthread_current
 

Macro Definition Documentation

#define THREADOBJECT   thread_current

Definition at line 51 of file thread-posix.hpp.

Function Documentation

static threadobject * thread_get_current ( void  )
inlinestatic

Return the Thread object of the current thread.

Returns
The current Thread object.

Definition at line 94 of file thread-posix.hpp.

static void thread_set_current ( threadobject t)
inlinestatic

Set the current Thread object.

Parameters
tThe thread object to set.

Definition at line 113 of file thread-posix.hpp.

Variable Documentation

__thread threadobject* thread_current

Definition at line 41 of file thread-none.cpp.