Changeset 21594 in vbox for trunk/src/VBox/Runtime/r0drv/solaris/vbi
- Timestamp:
- Jul 15, 2009 12:08:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c
r21536 r21594 151 151 RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread) 152 152 { 153 Assert(hThread == NIL_RTTHREAD); NOREF(hThread); 154 /** @todo Solaris: Implement RTThreadIsInInterrupt. Required for guest 155 * additions! */ 156 return !ASMIntAreEnabled(); 153 /* This is the best we currently can do here. :-( */ 154 return !RTThreadPreemptIsEnabled(hThread) 155 && getpil() > 0 157 156 } 158 157
Note:
See TracChangeset
for help on using the changeset viewer.