VirtualBox

Changeset 13297 in vbox for trunk/src


Ignore:
Timestamp:
Oct 15, 2008 6:31:29 PM (16 years ago)
Author:
vboxsync
Message:

Runtime/vbi: Use MUTEX_SPIN for vbi too.

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r13260 r13297  
    12011201        r0drv/solaris/vbi/semeventmulti-r0drv-solaris.c \
    12021202        r0drv/solaris/vbi/semfastmutex-r0drv-solaris.c \
    1203         r0drv/solaris/spinlock-r0drv-solaris.c \
     1203        r0drv/solaris/vbi/spinlock-r0drv-solaris.c \
    12041204        r0drv/solaris/vbi/thread-r0drv-solaris.c \
    12051205        r0drv/solaris/vbi/thread2-r0drv-solaris.c \
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/spinlock-r0drv-solaris.c

    r9149 r13297  
    3333*******************************************************************************/
    3434#include "the-solaris-kernel.h"
     35#include <sys/spl.h>
    3536
    3637#include <iprt/spinlock.h>
     
    7273     */
    7374    pSpinlockInt->u32Magic = RTSPINLOCK_MAGIC;
    74     mutex_init(&pSpinlockInt->Mtx, "IPRT Spinlock", MUTEX_DRIVER, NULL);
     75    mutex_init(&pSpinlockInt->Mtx, "IPRT Spinlock", MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL));
    7576    *pSpinlock = pSpinlockInt;
    7677    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