/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/ |
H A D | prustack.c | 79 PRThread *thr; local 90 thr = _PR_THREAD_STACK_TO_PTR(ts); 95 if (thr->no_sched) 115 thr = _PR_THREAD_STACK_TO_PTR(ts); 120 if ((!(thr->no_sched)) && ((ts->allocSize - 2*REDZONE) >= stackSize)) {
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | suspend.c | 85 PRThread *thr; local 87 thr = PR_CreateThreadGCAble(PR_USER_THREAD, 95 if (!thr) { 102 thr); 103 PR_JoinThread(thr); 130 PRThread *thr; local 141 thr = PR_CreateThreadGCAble(PR_USER_THREAD, 148 if (!thr) { 156 thr);
|
H A D | io_timeout.c | 190 PRThread *thr; local 211 thr = PR_CreateThread( PR_USER_THREAD, 219 if (!thr) {
|
H A D | io_timeoutk.c | 144 PRThread *thr; local 164 thr = PR_CreateThread( PR_USER_THREAD, 172 if (!thr) {
|
H A D | io_timeoutu.c | 145 PRThread *thr; local 165 thr = PR_CreateThread( PR_USER_THREAD, 173 if (!thr) {
|
H A D | threads.c | 70 PRThread *thr; local 72 thr = PR_CreateThread(PR_USER_THREAD, 80 if (!thr) { 87 PR_JoinThread(thr); 97 PRThread *thr; local 105 thr = PR_CreateThread(PR_USER_THREAD, 112 if (!thr) {
|
H A D | nbconn.c | 298 PRThread *thr = NULL; local 369 thr = PR_CreateThread(PR_USER_THREAD, TCP_Server, (void *)&sp, 371 if (thr == NULL) { 377 DPRINTF(("Created TCP_Server thread [0x%x]\n",thr)); 465 if (thr) { 466 PR_JoinThread(thr); 467 thr = NULL;
|
H A D | thrpool_client.c | 290 PRThread *thr; local 318 thr = PR_CreateThread(PR_USER_THREAD, TCP_Client, (void *)cparamp, 320 if (NULL == thr) { 328 DPRINTF(("Created TCP client = 0x%lx\n", thr));
|
/vbox/src/libs/xpcom18a4/xpcom/threads/ |
H A D | nsEventQueueService.cpp | 122 PRThread *thr; local 123 rv = mainThread->GetPRThread(&thr); 125 rv = CreateEventQueue(thr, PR_TRUE);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | unixware.c | 517 void _MD_Suspend(PRThread *thr) argument 522 thr_suspend(thr->md.handle); 523 if (!_PR_IS_GCABLE_THREAD(thr)) 532 if (thr->flags & _PR_PRIMORDIAL) 536 if (!suspendAllOn || thr->md.lwpid == -1) 540 void _MD_Resume(PRThread *thr) argument 542 if (!_PR_IS_GCABLE_THREAD(thr) || !suspendAllOn){ 548 thr_continue(thr->md.handle); 551 if (thr->md.lwpid == -1) 554 if ( _lwp_continue(thr [all...] |
H A D | solaris.c | 570 void _MD_Suspend(PRThread *thr) argument 576 if (!_PR_IS_GCABLE_THREAD(thr) || !suspendAllOn){ 582 thr_suspend(thr->md.handle); 593 if (thr->flags & _PR_PRIMORDIAL) 602 if (!suspendAllOn || thr->md.lwpid == -1) 605 if (_lwp_suspend(thr->md.lwpid) < 0) { 615 if ( (lwp_fd = solaris_open_lwp(thr->md.lwpid, lwp_main_proc_fd)) < 0) { 633 solaris_record_regs(thr, &lwpstatus);
|
H A D | irix.c | 1023 PRThread *me, *thr; local 1167 void get_context(PRThread *thr) 1178 sprintf(pidstr,"%d",thr->md.id); 1183 (void) ioctl(fd, PIOCGREG, thr->md.gregs); 1267 PRThread *thr; local 1284 thr = _PR_ACTIVE_THREAD_PTR(qp); 1285 printf("%s 0x%-12x %-10s "," ",thr,_thr_state[thr->state]); 1286 if (thr->state == _PR_LOCK_WAIT) 1287 handle = thr [all...] |
H A D | unix.c | 1420 _PR_THREAD_LOCK(pq->thr); 1421 if (pq->thr->flags & (_PR_ON_PAUSEQ|_PR_ON_SLEEPQ)) { 1422 _PRCPU *cpu = pq->thr->cpu; 1423 _PR_SLEEPQ_LOCK(pq->thr->cpu); 1424 _PR_DEL_SLEEPQ(pq->thr, PR_TRUE); 1425 _PR_SLEEPQ_UNLOCK(pq->thr->cpu); 1427 if (pq->thr->flags & _PR_SUSPENDING) { 1433 pq->thr->state = _PR_SUSPENDED; 1434 _PR_MISCQ_LOCK(pq->thr->cpu); 1435 _PR_ADD_SUSPENDQ(pq->thr, p 3177 _PR_Unblock_IO_Wait(PRThread *thr) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w16sock.c | 607 pq->thr = me; 679 void _PR_Unblock_IO_Wait(PRThread *thr) argument 681 int pri = thr->priority; 682 _PRCPU *cpu = thr->cpu; 684 PR_ASSERT(thr->flags & (_PR_ON_SLEEPQ | _PR_ON_PAUSEQ)); 686 _PR_DEL_SLEEPQ(thr, PR_TRUE); 689 PR_ASSERT(!(thr->flags & _PR_IDLE_THREAD)); 690 thr->state = _PR_RUNNABLE; 692 _PR_ADD_RUNQ(thr, cpu, pri); 694 _PR_THREAD_UNLOCK(thr); [all...] |
H A D | ntio.c | 762 void _PR_Unblock_IO_Wait(PRThread *thr) argument 765 _PRCPU *cpu = thr->cpu; 767 PR_ASSERT(thr->state == _PR_IO_WAIT); 774 if (thr->md.interrupt_disabled == PR_TRUE) { 775 _PR_THREAD_UNLOCK(thr); 778 thr->io_suspended = PR_TRUE; 779 thr->state = _PR_RUNNABLE; 781 if (!_PR_IS_NATIVE_THREAD(thr)) { 783 PR_ASSERT(thr->flags & (_PR_ON_SLEEPQ | _PR_ON_PAUSEQ)); 785 _PR_DEL_SLEEPQ(thr, PR_TRU [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prtpool.c | 660 PRThread *thr; local 682 thr = PR_CreateThread(PR_USER_THREAD, wstart, 685 PR_ASSERT(thr); 688 wthrp->thread = thr; 693 thr = PR_CreateThread(PR_USER_THREAD, io_wstart, 696 PR_ASSERT(thr); 699 wthrp->thread = thr; 702 thr = PR_CreateThread(PR_USER_THREAD, timer_wstart, 705 PR_ASSERT(thr); 708 wthrp->thread = thr; [all...] |
/vbox/src/VBox/Devices/Serial/ |
H A D | DevSerial.cpp | 197 uint8_t thr; /**< transmit holding register */ member in struct:SerialState 399 pThis->tsr = pThis->thr; 456 pThis->thr = (uint8_t) val; 458 fifo_put(pThis, XMIT_FIFO, pThis->thr); 935 SSMR3PutU8(pSSM, pThis->thr); 996 SSMR3GetU8(pSSM, &pThis->thr);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/ |
H A D | _unixos.h | 127 struct PRThread *thr; member in struct:PRPollQueue 138 extern void _PR_Unblock_IO_Wait(struct PRThread *thr);
|
H A D | _win16.h | 97 struct PRThread *thr; member in struct:PRPollQueue 105 NSPR_API(void) _PR_Unblock_IO_Wait(struct PRThread *thr);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/ |
H A D | primpl.h | 195 #define _PT_THREAD_INTERRUPTED(thr) \ 196 (!(thr->interrupt_blocked) && (thr->state & PT_THREAD_ABORTED)) 197 #define _PT_THREAD_BLOCK_INTERRUPT(thr) \ 198 (thr->interrupt_blocked = 1) 199 #define _PT_THREAD_UNBLOCK_INTERRUPT(thr) \ 200 (thr->interrupt_blocked = 0) 204 #define _PT_IS_GCABLE_THREAD(thr) 1 206 #define _PT_IS_GCABLE_THREAD(thr) ((thr) 1558 PRThread* thr; /* back pointer to thread owning this stack */ member in struct:PRThreadStack [all...] |