VirtualBox

Changeset 48042 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 24, 2013 12:04:57 PM (11 years ago)
Author:
vboxsync
Message:

Solaris/LogRel: Update comment and some minor cosmetics.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r47537 r48042  
    11941194    char        szMsg[512];
    11951195
    1196     if (!RTThreadPreemptIsEnabled(NIL_RTTHREAD))    /** @todo this will change when preemption hooks are implemented. */
     1196    /* cmn_err() acquires adaptive mutexes. Not preemption safe, see @bugref{6657}. */
     1197    if (!RTThreadPreemptIsEnabled(NIL_RTTHREAD))
    11971198        return 0;
    11981199
  • trunk/src/VBox/Runtime/r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c

    r45433 r48042  
    4646    if (pch[cb] != '\0')
    4747        AssertBreakpoint();
    48     if (!RTThreadPreemptIsEnabled(NIL_RTTHREAD))    /** @todo this will change when preemptions hook are implemented. */
     48
     49    /* cmn_err() acquires adaptive mutexes. Not preemption safe, see @bugref{6657}. */
     50    if (!RTThreadPreemptIsEnabled(NIL_RTTHREAD))
    4951        return;
     52
    5053    if (    !g_frtSolSplSetsEIF
    5154#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     
    5558#endif
    5659        )
     60    {
    5761        cmn_err(CE_CONT, pch);
     62    }
     63
    5864    return;
    5965}
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