Changeset 14465 in vbox for trunk/src/VBox
- Timestamp:
- Nov 21, 2008 3:04:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
r14423 r14465 39 39 #include "internal/thread.h" 40 40 41 /* @todo Implement 41 42 /** @todo Later. 42 43 RTDECL(RTTHREAD) RTThreadSelf(void) 43 44 { … … 46 47 */ 47 48 49 48 50 RTDECL(bool) RTThreadPreemptIsEnabled(RTTHREAD hThread) 49 51 { 50 52 Assert(hThread == NIL_RTTHREAD); 51 return !in_atomic() ;53 return !in_atomic() && !irqs_disabled(); 52 54 } 53 55
Note:
See TracChangeset
for help on using the changeset viewer.