Searched refs:sem2 (Results 1 - 5 of 5) sorted by relevance
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | semapong.c | 50 static PRSem *sem1, *sem2; variable 97 sem2 = PR_OpenSemaphore(SEM_NAME2, 0, 0, 0); 98 if (NULL == sem2) { 114 if (PR_WaitSemaphore(sem2) == PR_FAILURE) { 142 if (PR_CloseSemaphore(sem2) == PR_FAILURE) {
|
H A D | sema.c | 51 static PRSem *sem1, *sem2; variable 61 if (PR_WaitSemaphore(sem2) == PR_FAILURE) { 127 sem2 = PR_OpenSemaphore(SEM_NAME2, PR_SEM_CREATE, SEM_MODE, 0); 128 if (NULL == sem2) { 155 if (PR_PostSemaphore(sem2) == PR_FAILURE) { 169 if (PR_CloseSemaphore(sem2) == PR_FAILURE) {
|
H A D | semaping.c | 52 static PRSem *sem1, *sem2; variable 123 sem2 = PR_OpenSemaphore(SEM_NAME2, PR_SEM_CREATE, SEM_MODE, 0); 124 if (NULL == sem2) { 163 if (PR_PostSemaphore(sem2) == PR_FAILURE) { 179 if (PR_CloseSemaphore(sem2) == PR_FAILURE) {
|
H A D | nameshm1.c | 304 PRSem *sem1, *sem2; local 315 sem2 = PR_OpenSemaphore( SEM_NAME2, 0, 0, 0 ); 348 rc = PR_WaitSemaphore( sem2 ); 364 rc = PR_CloseSemaphore( sem2 ); 397 PRSem *sem1, *sem2; local 444 sem2 = PR_OpenSemaphore( SEM_NAME2, PR_SEM_CREATE, SEM_MODE, 1 ); 475 rc = PR_PostSemaphore( sem2 ); 485 rc = PR_CloseSemaphore( sem2 );
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/ |
H A D | _beos.h | 122 sem_id sem2; member in struct:_MDCVar
|
Completed in 53 milliseconds