Changeset 54469 in vbox
- Timestamp:
- Feb 24, 2015 9:33:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c
r54468 r54469 231 231 Args.cHits = 0; 232 232 233 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;234 RTThreadPreemptDisable(&PreemptState);235 236 233 RTSOLCPUSET CpuSet; 237 234 for (int i = 0; i < IPRT_SOL_SET_WORDS; i++) 238 235 CpuSet.auCpus[i] = (ulong_t)-1L; 236 237 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; 238 RTThreadPreemptDisable(&PreemptState); 239 239 240 240 rtMpSolCrossCall(&CpuSet, rtMpSolOnAllCpuWrapper, &Args); … … 424 424 Args.cHits = 0; 425 425 426 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;427 RTThreadPreemptDisable(&PreemptState);428 429 426 RTSOLCPUSET CpuSet; 430 427 for (int i = 0; i < IPRT_SOL_SET_WORDS; i++) … … 432 429 BT_SET(CpuSet.auCpus, idCpu); 433 430 431 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; 432 RTThreadPreemptDisable(&PreemptState); 433 434 434 rtMpSolCrossCall(&CpuSet, rtMpSolOnSpecificCpuWrapper, &Args); 435 435
Note:
See TracChangeset
for help on using the changeset viewer.