Changeset 14423 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Nov 20, 2008 4:08:45 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39667
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
r8245 r14423 34 34 #include "the-linux-kernel.h" 35 35 36 #include <iprt/assert.h> 36 37 #include <iprt/thread.h> 37 38 #include <iprt/err.h> 38 39 #include "internal/thread.h" 39 40 40 41 /* @todo Implement 41 42 RTDECL(RTTHREAD) RTThreadSelf(void) 42 43 { 43 return rtThreadGetByNative(( (RTNATIVETHREAD)current);44 return rtThreadGetByNative((RTNATIVETHREAD)current); 44 45 } 46 */ 45 47 48 RTDECL(bool) RTThreadPreemptIsEnabled(RTTHREAD hThread) 49 { 50 Assert(hThread == NIL_RTTHREAD); 51 return !in_atomic(); 52 } 53
Note:
See TracChangeset
for help on using the changeset viewer.