Changeset 39443 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Nov 28, 2011 3:01:21 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75079
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c
r29281 r39443 48 48 49 49 50 RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies)50 static int rtR0ThreadSolSleepCommon(RTMSINTERVAL cMillies) 51 51 { 52 52 clock_t cTicks; … … 55 55 if (!cMillies) 56 56 { 57 RTThreadYield();57 vbi_yield(); 58 58 return VINF_SUCCESS; 59 59 } … … 66 66 delay(cTicks); 67 67 return VINF_SUCCESS; 68 } 69 70 71 RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies) 72 { 73 return rtR0ThreadSolSleepCommon(cMillies); 74 } 75 76 77 RTDECL(int) RTThreadSleepNoLog(RTMSINTERVAL cMillies) 78 { 79 return rtR0ThreadSolSleepCommon(cMillies); 68 80 } 69 81
Note:
See TracChangeset
for help on using the changeset viewer.