ntthread.c File Reference


Functions

 __declspec (thread)
 _PR_MD_LAST_THREAD ()
void _PR_MD_EARLY_INIT ()
void _PR_MD_CLEANUP_BEFORE_EXIT (void)
PRStatus _PR_MD_INIT_THREAD (PRThread *thread)
PRStatus _PR_MD_CREATE_THREAD (PRThread *thread, void(*start)(void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize)
void _PR_MD_JOIN_THREAD (_MDThread *md)
void _PR_MD_END_THREAD (void)
void _PR_MD_YIELD (void)
void _PR_MD_SET_PRIORITY (_MDThread *thread, PRThreadPriority newPri)
void _PR_MD_CLEAN_THREAD (PRThread *thread)
void _PR_MD_EXIT_THREAD (PRThread *thread)
void _PR_MD_EXIT (PRIntn status)
void _pr_fiber_mainline (void *unused)
PRThread_PR_MD_CREATE_USER_THREAD (PRUint32 stacksize, void(*start)(void *), void *arg)
void _PR_MD_CREATE_PRIMORDIAL_USER_THREAD (PRThread *thread)
void _PR_MD_INIT_CONTEXT (PRThread *thread, char *top, void(*start)(void), PRBool *status)
void _PR_MD_SWITCH_CONTEXT (PRThread *thread)
void _PR_MD_RESTORE_CONTEXT (PRThread *thread)
PRInt32 _PR_MD_SETTHREADAFFINITYMASK (PRThread *thread, PRUint32 mask)
PRInt32 _PR_MD_GETTHREADAFFINITYMASK (PRThread *thread, PRUint32 *mask)
void _PR_MD_SUSPEND_CPU (_PRCPU *cpu)
void _PR_MD_RESUME_CPU (_PRCPU *cpu)
void _PR_MD_SUSPEND_THREAD (PRThread *thread)
void _PR_MD_RESUME_THREAD (PRThread *thread)
PRThread_MD_CURRENT_THREAD (void)

Variables

PRLock_pr_schedLock = NULL
_PRInterruptTable _pr_interruptTable [] = { { 0 } }
BOOL _pr_use_static_tls = TRUE


Function Documentation

__declspec ( thread   ) 

_PR_MD_LAST_THREAD (  ) 

void _PR_MD_EARLY_INIT ( void   ) 

void _PR_MD_CLEANUP_BEFORE_EXIT ( void   ) 

PRStatus _PR_MD_INIT_THREAD ( PRThread thread  ) 

PRStatus _PR_MD_CREATE_THREAD ( PRThread thread,
void(*)(void *)  start,
PRThreadPriority  priority,
PRThreadScope  scope,
PRThreadState  state,
PRUint32  stackSize 
)

void _PR_MD_JOIN_THREAD ( _MDThread md  ) 

void _PR_MD_END_THREAD ( void   ) 

void _PR_MD_YIELD ( void   ) 

void _PR_MD_SET_PRIORITY ( _MDThread thread,
PRThreadPriority  newPri 
)

void _PR_MD_CLEAN_THREAD ( PRThread thread  ) 

void _PR_MD_EXIT_THREAD ( PRThread thread  ) 

void _PR_MD_EXIT ( PRIntn  status  ) 

void _pr_fiber_mainline ( void *  unused  ) 

PRThread* _PR_MD_CREATE_USER_THREAD ( PRUint32  stacksize,
void(*)(void *)  start,
void *  arg 
)

void _PR_MD_CREATE_PRIMORDIAL_USER_THREAD ( PRThread thread  ) 

void _PR_MD_INIT_CONTEXT ( PRThread thread,
char top,
void(*)(void)  start,
PRBool *  status 
)

void _PR_MD_SWITCH_CONTEXT ( PRThread thread  ) 

void _PR_MD_RESTORE_CONTEXT ( PRThread thread  ) 

PRInt32 _PR_MD_SETTHREADAFFINITYMASK ( PRThread thread,
PRUint32  mask 
)

PRInt32 _PR_MD_GETTHREADAFFINITYMASK ( PRThread thread,
PRUint32 mask 
)

void _PR_MD_SUSPEND_CPU ( _PRCPU cpu  ) 

void _PR_MD_RESUME_CPU ( _PRCPU cpu  ) 

void _PR_MD_SUSPEND_THREAD ( PRThread thread  ) 

void _PR_MD_RESUME_THREAD ( PRThread thread  ) 

PRThread* _MD_CURRENT_THREAD ( void   )  [read]


Variable Documentation


Generated Mozilla by doxygen 1.5.6