Changeset 21552 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Jul 13, 2009 4:41:09 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c
r21536 r21552 109 109 Assert(hThread == NIL_RTTHREAD); 110 110 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 4) 111 return test_tsk_thread_flag(current, TIF_NEED_RESCHED);111 return !!test_tsk_thread_flag(current, TIF_NEED_RESCHED); 112 112 113 113 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20) 114 return need_resched();114 return !!need_resched(); 115 115 116 116 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 1, 110)
Note:
See TracChangeset
for help on using the changeset viewer.