Changeset 103531 in vbox
- Timestamp:
- Feb 22, 2024 1:13:56 PM (9 months ago)
- Location:
- trunk/src/libs/xpcom18a4/nsprpub/pr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/prmon.h
r102470 r103531 126 126 ** mutex. Returns zero if the current thread has not entered the mutex. 127 127 */ 128 NSPR_API( PRIntn) PR_GetMonitorEntryCount(PRMonitor *mon);128 NSPR_API(uint32_t) PR_GetMonitorEntryCount(PRMonitor *mon); 129 129 130 130 NSPR_API(PRMonitor*) PR_NewNamedMonitor(const char* name); -
trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c
r103472 r103531 366 366 } /* PR_DestroyCondVar */ 367 367 368 PR_IMPLEMENT(PRStatus)PR_WaitCondVar(PRCondVar *cvar, RTMSINTERVAL msTimeout)368 static PRStatus PR_WaitCondVar(PRCondVar *cvar, RTMSINTERVAL msTimeout) 369 369 { 370 370 PRIntn rv; … … 477 477 * duplicating it for now - XXXMB 478 478 */ 479 PR_IMPLEMENT( PRIntn) PR_GetMonitorEntryCount(PRMonitor *mon)479 PR_IMPLEMENT(uint32_t) PR_GetMonitorEntryCount(PRMonitor *mon) 480 480 { 481 481 pthread_t self = pthread_self(); … … 533 533 { 534 534 PRStatus rv; 535 PRInt16 saved_entries;536 535 pthread_t saved_owner; 537 536 … … 545 544 546 545 /* tuck these away 'till later */ 547 saved_entries = mon->entryCount;546 uint32_t saved_entries = mon->entryCount; 548 547 mon->entryCount = 0; 549 548 _PT_PTHREAD_COPY_THR_HANDLE(mon->owner, saved_owner);
Note:
See TracChangeset
for help on using the changeset viewer.