Changeset 22558 in vbox for trunk/src/VBox/Runtime/r0drv/solaris/vbi
- Timestamp:
- Aug 28, 2009 4:34:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c
r22477 r22558 150 150 RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread) 151 151 { 152 /* This is the best we currently can do here. :-( */ 153 return !RTThreadPreemptIsEnabled(hThread) 154 && getpil() > 0; 152 Assert(hThread == NIL_RTTHREAD); 153 return servicing_interrupt() ? true : false; 155 154 } 156 155 157
Note:
See TracChangeset
for help on using the changeset viewer.