Lines Matching defs:PRThread
293 PRThread *thread; /* native thread for this CPUThread */
294 PRThread *idle_thread; /* user-level idle thread for this CPUThread */
322 NSPR_API(PRThread *) _pr_currentThread;
323 NSPR_API(PRThread *) _pr_lastThread;
593 PRThread *thread, PRCondVar *cvar, PRLock *lock, PRIntervalTime timeout);
598 /* PRThread.flags */
612 /* PRThread.state */
668 ((PRThread*) ((char*) (_qp) - offsetof(PRThread,links)))
671 ((PRThread*) ((char*) (_qp) - offsetof(PRThread,active)))
674 ((PRThread*) ((char*) (_qp) - offsetof(PRThread,waitQLinks)))
677 ((PRThread*) ((char*) (_md) - offsetof(PRThread,md)))
680 ((PRThread*) (_stack->thr))
744 PRThread* thread, PRThreadPriority priority);
774 extern PRBool _PR_NotifyThread (PRThread *thread, PRThread *me);
775 extern void _PR_NotifyLockedThread (PRThread *thread);
777 NSPR_API(void) _PR_AddSleepQ(PRThread *thread, PRIntervalTime timeout);
778 NSPR_API(void) _PR_DelSleepQ(PRThread *thread, PRBool propogate_time);
780 extern void _PR_AddThreadToRunQ(PRThread *me, PRThread *thread);
782 NSPR_API(PRThread*) _PR_CreateThread(PRThreadType type,
791 extern void _PR_NativeDestroyThread(PRThread *thread);
792 extern void _PR_UserDestroyThread(PRThread *thread);
794 extern PRThread* _PRI_AttachThread(
832 extern PRStatus _PR_MD_WAIT(PRThread *, PRIntervalTime timeout);
835 extern PRStatus _PR_MD_WAKEUP_WAITER(PRThread *);
948 NSPR_API(PRThread*) _PR_MD_CURRENT_THREAD(void);
951 NSPR_API(PRThread*) _PR_MD_GET_ATTACHED_THREAD(void);
954 NSPR_API(PRThread*) _PR_MD_LAST_THREAD(void);
957 NSPR_API(void) _PR_MD_SET_CURRENT_THREAD(PRThread *thread);
960 NSPR_API(void) _PR_MD_SET_LAST_THREAD(PRThread *thread);
963 extern PRStatus _PR_MD_INIT_THREAD(PRThread *thread);
966 extern void _PR_MD_EXIT_THREAD(PRThread *thread);
971 NSPR_API(PRStatus) _PR_MD_INIT_ATTACHED_THREAD(PRThread *thread);
974 extern void _PR_MD_SUSPEND_THREAD(PRThread *thread);
977 extern void _PR_MD_RESUME_THREAD(PRThread *thread);
1004 extern void _PR_MD_CLEAN_THREAD(PRThread *thread);
1008 extern void _PR_MD_CREATE_PRIMORDIAL_USER_THREAD(PRThread *);
1011 extern PRThread* _PR_MD_CREATE_USER_THREAD(
1019 PRThread *thread,
1046 PRThread *thread, char *top, void (*start) (void), PRBool *status);
1049 extern void _PR_MD_SWITCH_CONTEXT(PRThread *thread);
1052 extern void _PR_MD_RESTORE_CONTEXT(PRThread *thread);
1305 extern void *_PR_MD_GET_SP(PRThread *thread);
1453 PRCList links; /* linkage for PRThread.lockList */
1454 struct PRThread *owner; /* current lock owner */
1558 PRThread* thr; /* back pointer to thread owning this stack */
1566 extern void _PR_DestroyThreadPrivate(PRThread*);
1570 struct PRThread {
1596 PRBool okToDelete; /* ok to delete the PRThread struct? */
1599 PRThread *next, *prev; /* simple linked list of all threads */
1786 extern void _PR_NotifyCondVar(PRCondVar *cvar, PRThread *me);
1787 extern void _PR_CleanupThread(PRThread *thread);
1952 extern PRWord *_MD_HomeGCRegisters(PRThread *t, int isCurrent, int *np);
1964 extern PRInt32 _PR_MD_SETTHREADAFFINITYMASK(PRThread *thread, PRUint32 mask );
1967 extern PRInt32 _PR_MD_GETTHREADAFFINITYMASK(PRThread *thread, PRUint32 *mask);