VirtualBox

Changeset 22366 in vbox for trunk/src


Ignore:
Timestamp:
Aug 20, 2009 10:58:25 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51296
Message:

Solaris/mpnotification: fixed race in mpnotificationinit.

File:
1 edited

Legend:

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

    r22347 r22366  
    7878    RTCpuSetEmpty(&g_rtMpSolarisCpuSet);
    7979
    80     g_hVbiCpuWatch = vbi_watch_cpus(rtMpNotificationSolarisCallback, NULL, 0);
     80    g_hVbiCpuWatch = vbi_watch_cpus(rtMpNotificationSolarisCallback, NULL, 1 /* watch current CPU too */);
    8181
    8282    RTCPUID idCpu = RTMpGetMaxCpuId();
    8383    do
    8484    {
    85         /** @todo vbi_cpu_online() should do boundary check "idCpu" rather than hang the system. */
     85        /** @todo vbi_cpu_online() should boundary check "idCpu" rather than hang the system. */
    8686        if (   RTMpIsCpuPossible(idCpu)
    8787            && vbi_cpu_online(idCpu))
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