VirtualBox

Ignore:
Timestamp:
Jul 31, 2008 3:14:27 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33922
Message:

iprt: Added missing locking to rtR0MpNotificationNativeInit/Term on solaris (non vbi version).

File:
1 edited

Legend:

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

    r9602 r11032  
    7070int rtR0MpNotificationNativeInit(void)
    7171{
     72    mutex_enter(&cpu_lock);
    7273    register_cpu_setup_func(rtMpNotificationSolarisCallback, NULL);
     74    mutex_exit(&cpu_lock);
     75    return VINF_SUCCESS;
    7376}
    7477
     
    7679void rtR0MpNotificationNativeTerm(void)
    7780{
     81    mutex_enter(&cpu_lock);
    7882    unregister_cpu_setup_func(rtMpNotificationSolarisCallback, NULL);
     83    mutex_exit(&cpu_lock);
    7984}
    8085
Note: See TracChangeset for help on using the changeset viewer.

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