CACAO
Data Structures | Macros | Functions | Variables
threadobject.hpp File Reference

Go to the source code of this file.

Data Structures

struct  threadobject
 

Macros

#define THREADOBJECT   thread_current
 
#define THREAD_NATIVEWORLD_ENTER   /*nop*/
 
#define THREAD_NATIVEWORLD_EXIT   /*nop*/
 
#define FILTERVERBOSECALLCTR   (THREADOBJECT->filterverbosecallctr)
 
#define TRACEJAVACALLINDENT   (THREADOBJECT->tracejavacallindent)
 
#define TRACEJAVACALLCOUNT   (THREADOBJECT->tracejavacallcount)
 

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...
 
static struct stackframeinfo_tthreads_get_current_stackframeinfo (void)
 
static void threads_set_current_stackframeinfo (struct stackframeinfo_t *sfi)
 

Variables

__thread threadobjectthread_current
 

Macro Definition Documentation

#define FILTERVERBOSECALLCTR   (THREADOBJECT->filterverbosecallctr)

Definition at line 163 of file threadobject.hpp.

#define THREAD_NATIVEWORLD_ENTER   /*nop*/

Definition at line 155 of file threadobject.hpp.

#define THREAD_NATIVEWORLD_EXIT   /*nop*/

Definition at line 156 of file threadobject.hpp.

#define THREADOBJECT   thread_current

Definition at line 135 of file threadobject.hpp.

#define TRACEJAVACALLCOUNT   (THREADOBJECT->tracejavacallcount)

Definition at line 170 of file threadobject.hpp.

#define TRACEJAVACALLINDENT   (THREADOBJECT->tracejavacallindent)

Definition at line 169 of file threadobject.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 201 of file threadobject.hpp.

static void thread_set_current ( threadobject t)
inlinestatic

Set the current Thread object.

Parameters
tThe thread object to set.

Definition at line 220 of file threadobject.hpp.

static struct stackframeinfo_t* threads_get_current_stackframeinfo ( void  )
static

Definition at line 236 of file threadobject.hpp.

static void threads_set_current_stackframeinfo ( struct stackframeinfo_t sfi)
inlinestatic

Definition at line 241 of file threadobject.hpp.

Variable Documentation

__thread threadobject* thread_current

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