VirtualBox

Changeset 105444 in vbox


Ignore:
Timestamp:
Jul 23, 2024 11:55:24 AM (4 months ago)
Author:
vboxsync
Message:

Main/AutoCaller: Fix missing wakeup of concurrent callers to uninit().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/AutoCaller.cpp

    r98103 r105444  
    401401    Assert(mState == InUninit);
    402402
     403    if (mInitUninitWaiters > 0)
     404    {
     405        /* We have some concurrent uninit() calls on other threads (created
     406         * during InUninit), signal that InUninit is finished and they may go on. */
     407        RTSemEventMultiSignal(mInitUninitSem);
     408    }
     409
    403410    setState(NotReady);
    404411}
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