VirtualBox

Ignore:
Timestamp:
Nov 28, 2011 3:01:21 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75079
Message:

Introduced RTThreadSleepNoLog for spinlocking in the electric fence heap. (Caused trouble with all logging enabled.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c

    r33358 r39443  
    5858
    5959
    60 RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies)
     60static int rtR0ThreadLnxSleepCommon(RTMSINTERVAL cMillies)
    6161{
    6262    long cJiffies = msecs_to_jiffies(cMillies);
     
    6767    return VERR_INTERRUPTED;
    6868}
     69
     70
     71RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies)
     72{
     73    return rtR0ThreadLnxSleepCommon(cMillies);
     74}
    6975RT_EXPORT_SYMBOL(RTThreadSleep);
     76
     77
     78RTDECL(int) RTThreadSleepNoLog(RTMSINTERVAL cMillies)
     79{
     80    return rtR0ThreadLnxSleepCommon(cMillies);
     81}
     82RT_EXPORT_SYMBOL(RTThreadSleepNoLog);
    7083
    7184
Note: See TracChangeset for help on using the changeset viewer.

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