VirtualBox

Ignore:
Timestamp:
Nov 8, 2023 3:04:09 PM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Convert PR_Sleep to RTThreadSleep/RTThreadYield, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptio.c

    r101964 r101982  
    7878#endif
    7979#endif
     80
     81#include <iprt/thread.h>
    8082
    8183#ifdef DARWIN
     
    21362138    if (pt_TestAbort()) return -1;
    21372139
    2138     if (0 == npds) PR_Sleep(timeout);
     2140    if (0 == npds) RTThreadSleep(PR_IntervalToMilliseconds(timeout));
    21392141    else
    21402142    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette