Changeset 19907 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 22, 2009 11:14:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
r14465 r19907 54 54 } 55 55 56 57 RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread) 58 { 59 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 4) 60 return test_tsk_thread_flag(current, TIF_NEED_RESCHED); 61 #else 62 /** @todo get back to this if it matters. */ 63 return false; 64 #endif 65 } 66
Note:
See TracChangeset
for help on using the changeset viewer.