/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prerror.c | 45 PRThread *thread = PR_GetCurrentThread(); local 46 return thread->errorCode; 51 PRThread *thread = PR_GetCurrentThread(); local 52 return thread->osErrorCode; 57 PRThread *thread = PR_GetCurrentThread(); local 58 thread->errorCode = code; 59 thread->osErrorCode = osErr; 60 thread->errorStringLength = 0; 65 PRThread *thread = PR_GetCurrentThread(); local 69 if (NULL != thread 95 PRThread *thread = PR_GetCurrentThread(); local 101 PRThread *thread = PR_GetCurrentThread(); local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | sigpipe.c | 110 PRThread *thread; local 115 thread = PR_CreateThread(PR_USER_THREAD, Test, NULL, PR_PRIORITY_NORMAL, 117 if (thread == NULL) { 121 if (PR_JoinThread(thread) == PR_FAILURE) {
|
H A D | initclk.c | 69 PRThread *thread; local 82 thread = PR_CreateThread( 90 PR_ASSERT(NULL != thread); 94 PR_JoinThread(thread);
|
H A D | logger.c | 97 PR_LogPrint("%s forked thread exiting\n", (const char*)arg); 124 PRThread *thread; local 145 PR_LogPrint("%s creating new thread\n", argv[0]); 151 thread = PR_CreateThread( 154 PR_LogPrint("%s joining thread\n", argv[0]); 158 PR_JoinThread(thread);
|
H A D | prpollml.c | 92 PRThread *thread; local 119 /* first run the test on the primordial thread */ 123 thread = PR_CreateThread(PR_USER_THREAD, ThreadFunc, NULL, 125 if (NULL == thread) { 129 if (PR_JoinThread(thread) == PR_FAILURE) { 133 thread = PR_CreateThread(PR_USER_THREAD, ThreadFunc, NULL, 135 if (NULL == thread) { 139 if (PR_JoinThread(thread) == PR_FAILURE) { 143 thread = PR_CreateThread(PR_USER_THREAD, ThreadFunc, NULL, 145 if (NULL == thread) { [all...] |
H A D | sleep.c | 76 PRThread *thread; local 108 thread = PR_CreateThread( 116 PR_Interrupt(thread); 117 PR_JoinThread(thread);
|
/vbox/src/libs/xpcom18a4/xpcom/threads/ |
H A D | nsThread.h | 68 void SetPRThread(PRThread* thread) { mThread = thread; } argument
|
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | Helper.cpp | 24 #include <iprt/thread.h> 37 /** global flag indicating that the event queue thread should terminate */ 44 /** Semaphore the XPCOM event thread will sleep on while it waits for the main thread to process pending requests. */ 48 * Thread method to wait for XPCOM events and notify the SDL thread. 51 * @param thread Thread ID 55 DECLCALLBACK(int) xpcomEventThread(RTTHREAD thread, void *pvUser) argument 61 /* Wait with the processing till the main thread needs it. */ 86 * we'll flood the queue on SMP systems and when the main thread is busy. 119 * Creates the XPCOM event thread [all...] |
/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu_init.c | 34 ThreadInfo *thread; local 60 thread = packspuNewThread( 66 if (!thread) { 69 CRASSERT( thread == &(pack_spu.thread[0]) ); 95 if (pack_spu.thread[i].inUse && pack_spu.thread[i].packer) 97 crPackDeleteContext(pack_spu.thread[i].packer);
|
/vbox/src/libs/libxml2-2.6.31/python/tests/ |
H A D | thread2.py | 3 import thread namespace 31 # check a per thread-global 35 "lineNumbersDefault in thread %d" % thread.get_ident() 37 # (which is NOT per-thread in the python bindings) 49 # set on the main thread only 60 # the new value has been set on the main thread only
|
/vbox/src/libs/libxml2-2.6.31/ |
H A D | regressions.py | 2 import glob, os, string, sys, thread, time namespace 33 # list already read in by a separate thread; the second is a file descriptor. 172 th1 = thread.start_new_thread(readPfile, (pout, outfile, th1Flag)) 173 th2 = thread.start_new_thread(readPfile, (perr, errfile, th2Flag))
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | thread.cpp | 38 /* thread.cpp - a test program */ 77 TestThread *thread; member in class:Foo1 84 thread = new TestThread(RCThread::joinable, 0xafaf); 85 thread->Start(); 90 PRStatus rv = thread->Join(); 98 RCThread *thread[10]; local 101 TestThread *thread = new TestThread(RCThread::joinable, count); local 102 status = thread->Start(); /* have to remember to start it */ 104 status = thread->Join(); /* this should work */ 109 TestThread *thread local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | bsdi.c | 72 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 78 _MD_InitializeThread(PRThread *thread) argument 84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 86 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 87 _PR_MD_SWITCH_CONTEXT(thread); 92 _MD_WAKEUP_WAITER(PRThread *thread) argument 94 if (thread) { 95 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 109 PRThread *thread, 108 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | darwin.c | 60 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 66 _MD_InitializeThread(PRThread *thread) argument 72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 74 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 75 _PR_MD_SWITCH_CONTEXT(thread); 80 _MD_WAKEUP_WAITER(PRThread *thread) argument 82 if (thread) { 83 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 97 PRThread *thread, 96 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | dgux.c | 63 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 69 _MD_InitializeThread(PRThread *thread) argument 75 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 77 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 78 _PR_MD_SWITCH_CONTEXT(thread); 83 _MD_WAKEUP_WAITER(PRThread *thread) argument 85 if (thread) { 86 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 100 PRThread *thread, 99 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | freebsd.c | 72 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 78 _MD_InitializeThread(PRThread *thread) argument 84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 86 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 87 _PR_MD_SWITCH_CONTEXT(thread); 92 _MD_WAKEUP_WAITER(PRThread *thread) argument 94 if (thread) { 95 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 109 PRThread *thread, 108 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | linux.c | 70 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 76 _MD_InitializeThread(PRThread *thread) argument 82 thread->md.sp = _MD_GET_SP_PTR(thread); 83 thread->md.fp = _MD_GET_FP_PTR(thread); 88 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 90 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 91 _PR_MD_SWITCH_CONTEXT(thread); 96 _MD_WAKEUP_WAITER(PRThread *thread) argument 112 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument [all...] |
H A D | nec.c | 54 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 60 _MD_InitializeThread(PRThread *thread) argument 66 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 68 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 69 _PR_MD_SWITCH_CONTEXT(thread); 74 _MD_WAKEUP_WAITER(PRThread *thread) argument 76 if (thread) { 77 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 91 PRThread *thread, 90 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | netbsd.c | 74 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 80 _MD_InitializeThread(PRThread *thread) argument 86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 88 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 89 _PR_MD_SWITCH_CONTEXT(thread); 94 _MD_WAKEUP_WAITER(PRThread *thread) argument 96 if (thread) { 97 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 111 PRThread *thread, 110 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | openbsd.c | 74 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 80 _MD_InitializeThread(PRThread *thread) argument 86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 88 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 89 _PR_MD_SWITCH_CONTEXT(thread); 94 _MD_WAKEUP_WAITER(PRThread *thread) argument 96 if (thread) { 97 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 111 PRThread *thread, 110 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | osf1.c | 60 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 66 _MD_InitializeThread(PRThread *thread) argument 72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 74 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 75 _PR_MD_SWITCH_CONTEXT(thread); 80 _MD_WAKEUP_WAITER(PRThread *thread) argument 82 if (thread) { 83 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 97 PRThread *thread, 96 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | qnx.c | 56 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 62 _MD_InitializeThread(PRThread *thread) argument 68 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 70 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 71 _PR_MD_SWITCH_CONTEXT(thread); 76 _MD_WAKEUP_WAITER(PRThread *thread) argument 78 if (thread) { 79 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 93 PRThread *thread, 92 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRUintn priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | sony.c | 62 _MD_SET_PRIORITY(_MDThread *thread, PRUintn newPri) argument 68 _MD_InitializeThread(PRThread *thread) argument 74 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 76 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 77 _PR_MD_SWITCH_CONTEXT(thread); 82 _MD_WAKEUP_WAITER(PRThread *thread) argument 84 if (thread) { 85 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 99 PRThread *thread, 98 _MD_CREATE_THREAD( PRThread *thread, void (*start) (void *), PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize) argument
|
H A D | sunos4.c | 45 PRStatus _MD_CREATE_THREAD(PRThread *thread, argument 62 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument 64 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 65 _PR_MD_SWITCH_CONTEXT(thread); 70 _MD_WAKEUP_WAITER(PRThread *thread) argument 72 if (thread) { 73 PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE)); 78 PRStatus _MD_InitializeThread(PRThread *thread) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/ |
H A D | prdump.c | 68 void _PR_DumpThread(PRFileDesc *fd, PRThread *thread) argument 73 thread->id, thread, thread->priority, thread->flags); 74 switch (thread->state) { 79 _PR_DumpPrintf(fd, " lock=%p", thread->wait.lock); 83 thread->wait.cvar, thread->sleep); 93 if (thread 149 PR_SetThreadDumpProc(PRThread* thread, PRThreadDumpProc dump, void *arg) argument [all...] |