Changeset 21594 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jul 15, 2009 12:08:20 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50093
- Location:
- trunk/src/VBox/Runtime/r0drv/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/thread-r0drv-solaris.c
r21536 r21594 157 157 RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread) 158 158 { 159 Assert(hThread == NIL_RTTHREAD); NOREF(hThread); 160 /** @todo Solaris: Implement RTThreadIsInInterrupt. Required for guest 161 * additions! */ 162 return !ASMIntAreEnabled(); 159 /* This is the best we currently can do here. :-( */ 160 return !RTThreadPreemptIsEnabled(hThread) 161 && getpil() > 0 163 162 } 164 163 -
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.