VirtualBox

Ignore:
Timestamp:
Nov 29, 2011 2:20:11 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/solaris: Spinlocks should be taken at PIL_MAX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c

    r29281 r39460  
    8383     */
    8484    pThis->u32Magic = RTSPINLOCK_MAGIC;
    85     mutex_init(&pThis->Mtx, "IPRT Spinlock", MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL));
     85    mutex_init(&pThis->Mtx, "IPRT Spinlock", MUTEX_SPIN, (void *)ipltospl(PIL_MAX));
    8686    *pSpinlock = pThis;
    8787    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette