Changeset 22819 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Sep 7, 2009 7:10:55 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/freebsd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c
r22677 r22819 207 207 208 208 if (fInterruptible) 209 rc = sleepq_timedwait_sig(pEventInt, 0);209 rc = SLEEPQ_TIMEDWAIT_SIG(pEventInt); 210 210 else 211 rc = sleepq_timedwait(pEventInt, 0);211 rc = SLEEPQ_TIMEDWAIT(pEventInt); 212 212 } 213 213 else … … 216 216 217 217 if (fInterruptible) 218 rc = sleepq_wait_sig(pEventInt, 0);218 rc = SLEEPQ_WAIT_SIG(pEventInt); 219 219 else 220 220 { 221 221 rc = 0; 222 sleepq_wait(pEventInt, 0);222 SLEEPQ_WAIT(pEventInt); 223 223 } 224 224 } -
trunk/src/VBox/Runtime/r0drv/freebsd/semeventmulti-r0drv-freebsd.c
r22677 r22819 43 43 #include "internal/magics.h" 44 44 45 46 45 /******************************************************************************* 47 46 * Structures and Typedefs * … … 217 216 218 217 if (fInterruptible) 219 rc = sleepq_timedwait_sig(pEventMultiInt, 0);218 rc = SLEEPQ_TIMEDWAIT_SIG(pEventMultiInt); 220 219 else 221 rc = sleepq_timedwait(pEventMultiInt, 0);220 rc = SLEEPQ_TIMEDWAIT(pEventMultiInt); 222 221 } 223 222 else … … 226 225 227 226 if (fInterruptible) 228 rc = sleepq_wait_sig(pEventMultiInt, 0);227 rc = SLEEPQ_WAIT_SIG(pEventMultiInt); 229 228 else 230 229 { 231 230 rc = 0; 232 sleepq_wait(pEventMultiInt, 0);231 SLEEPQ_WAIT(pEventMultiInt); 233 232 } 234 233 } -
trunk/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h
r22581 r22819 72 72 #endif*/ 73 73 74 #ifdef __FreeBSD_version >= 800026 75 # define SLEEPQ_TIMEDWAIT(EventInt) sleepq_timedwait(EventInt, 0) 76 # define SLEEPQ_TIMEDWAIT_SIG(EventInt) sleepq_timedwait_sig(EventInt, 0) 77 # define SLEEPQ_WAIT(EventInt) sleepq_wait(EventInt, 0) 78 # define SLEEPQ_WAIT_SIG(EventInt) sleepq_wait_sig(EventInt, 0) 79 #elif 80 # define SLEEPQ_TIMEDWAIT(EventInt) sleepq_timedwait(EventInt) 81 # define SLEEPQ_TIMEDWAIT_SIG(EventInt) sleepq_timedwait_sig(EventInt) 82 # define SLEEPQ_WAIT(EventInt) sleepq_wait(EventInt) 83 # define SLEEPQ_WAIT_SIG(EventInt) sleepq_wait_sig(EventInt) 74 84 #endif 85 86 #endif
Note:
See TracChangeset
for help on using the changeset viewer.