VirtualBox

Changeset 95186 in vbox for trunk


Ignore:
Timestamp:
Jun 3, 2022 1:40:07 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151686
Message:

Main/glue: Updated NativeEventQueue::processEventQueue with more details on darwin and Ctrl-C. [scm] bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/NativeEventQueue.cpp

    r95182 r95186  
    499499 *          stopped.
    500500 *
    501  * @note    On darwin this function will not return when the thread receives a signal,
    502  *          it will just resume the wait.
     501 * @note    On darwin this function will not return when the thread receives a
     502 *          signal, it will just resume the wait.
    503503 */
    504504int NativeEventQueue::processEventQueue(RTMSINTERVAL cMsTimeout)
     
    523523# ifdef RT_OS_DARWIN
    524524        /** @todo check how Ctrl-C works on Darwin.
    525          * Update: It doesn't work. MACH_RCV_INTERRUPT could perhaps be returned 
     525         * Update: It doesn't work. MACH_RCV_INTERRUPT could perhaps be returned
    526526         *         to __CFRunLoopServiceMachPort, but neither it nor __CFRunLoopRun
    527527         *         has any way of expressing it via their return values.  So, if
    528          *         Ctrl-C handling is important, signal needs to be handled on 
     528         *         Ctrl-C handling is important, signal needs to be handled on
    529529         *         a different thread or something. */
    530530        rc = waitForEventsOnDarwin(cMsTimeout);
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