Searched defs:sem1 (Results 1 - 5 of 5) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsema.c51 static PRSem *sem1, *sem2; variable
73 if (PR_PostSemaphore(sem1) == PR_FAILURE) {
121 sem1 = PR_OpenSemaphore(SEM_NAME1, PR_SEM_CREATE, SEM_MODE, 1);
122 if (NULL == sem1) {
143 if (PR_WaitSemaphore(sem1) == PR_FAILURE) {
166 if (PR_CloseSemaphore(sem1) == PR_FAILURE) {
H A Dsemapong.c50 static PRSem *sem1, *sem2; variable
91 sem1 = PR_OpenSemaphore(SEM_NAME1, 0, 0, 0);
92 if (NULL == sem1) {
126 if (PR_PostSemaphore(sem1) == PR_FAILURE) {
139 if (PR_CloseSemaphore(sem1) == PR_FAILURE) {
H A Dsemaping.c52 static PRSem *sem1, *sem2; variable
117 sem1 = PR_OpenSemaphore(SEM_NAME1, PR_SEM_CREATE, SEM_MODE, 1);
118 if (NULL == sem1) {
151 if (PR_WaitSemaphore(sem1) == PR_FAILURE) {
176 if (PR_CloseSemaphore(sem1) == PR_FAILURE) {
H A Dnameshm1.c304 PRSem *sem1, *sem2; local
312 sem1 = PR_OpenSemaphore( SEM_NAME1, 0, 0, 0 );
313 PR_ASSERT( sem1 );
316 PR_ASSERT( sem1 );
357 rc = PR_PostSemaphore( sem1 );
361 rc = PR_CloseSemaphore( sem1 );
397 PRSem *sem1, *sem2; local
441 sem1 = PR_OpenSemaphore( SEM_NAME1, PR_SEM_CREATE, SEM_MODE, 0 );
442 PR_ASSERT( sem1 );
445 PR_ASSERT( sem1 );
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/
H A D_beos.h121 sem_id sem1; member in struct:_MDCVar

Completed in 241 milliseconds