Changeset 7517 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Mar 22, 2008 11:15:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c
r3680 r7517 70 70 } 71 71 72 #if __FreeBSD_version < 700000 72 73 /* Do like they're doing in subr_ntoskrnl.c... */ 73 74 mtx_lock_spin(&sched_lock); 75 #else 76 thread_lock(curthread); 77 #endif 74 78 sched_prio(curthread, iPriority); 75 79 #if __FreeBSD_version < 600000 76 80 curthread->td_base_pri = iPriority; 77 81 #endif 82 #if __FreeBSD_version < 700000 78 83 mtx_unlock_spin(&sched_lock); 84 #else 85 thread_unlock(curthread); 86 #endif 79 87 80 88 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.