Changeset 5349 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 17, 2007 11:56:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/timer-r0drv-solaris.c
r4474 r5349 157 157 timerSpec.cyt_interval = pTimer->u64NanoInterval == 0 ? u64First : pTimer->u64NanoInterval; 158 158 159 rtTimerSolarisStop(pTimer); /** @todo r=bird: can't happen. */159 mutex_enter(&cpu_lock); 160 160 pTimer->CyclicID = cyclic_add(&pTimer->CyclicInfo, &timerSpec); 161 mutex_exit(&cpu_lock); 162 161 163 return VINF_SUCCESS; 162 164 } … … 203 205 if (pTimer->CyclicID != CYCLIC_NONE) 204 206 { 207 mutex_enter(&cpu_lock); 205 208 cyclic_remove(pTimer->CyclicID); 209 mutex_exit(&cpu_lock); 206 210 pTimer->CyclicID = CYCLIC_NONE; 207 211 }
Note:
See TracChangeset
for help on using the changeset viewer.