Changeset 54236 in vbox
- Timestamp:
- Feb 17, 2015 3:11:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/timer-r0drv-solaris.c
r54233 r54236 188 188 189 189 /** 190 * RTMpOnSpecific callback used by rtTimerSolCallbackWrapper() to deal with191 * callouts on the wrong CPU (race with cyclic_bind).192 *193 * @param idCpu The CPU this is fired on.194 * @param pvUser1 Opaque pointer to the timer.195 * @param pvUser2 Not used, NULL.196 */197 static void rtTimerSolMpCallbackWrapper(RTCPUID idCpu, void *pvUser1, void *pvUser2)198 {199 PRTTIMER pTimer = (PRTTIMER)pvUser1;200 AssertPtrReturnVoid(pTimer);201 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));202 AssertReturnVoid(pTimer->iCpu == RTMpCpuId()); /* ASSUMES: index == cpuid */203 204 /* This avoids some code duplication. */205 rtTimerSolSingleCallbackWrapper(pTimer);206 }207 208 209 /**210 190 * Callback wrapper for single-CPU timers. 211 191 *
Note:
See TracChangeset
for help on using the changeset viewer.