Changeset 95182 in vbox for trunk/src/VBox/Main/glue
- Timestamp:
- Jun 3, 2022 11:35:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/NativeEventQueue.cpp
r93115 r95182 498 498 * out of bounds. On darwin it will also be returned if the queue is 499 499 * stopped. 500 * 501 * @note On darwin this function will not return when the thread receives a signal, 502 * it will just resume the wait. 500 503 */ 501 504 int NativeEventQueue::processEventQueue(RTMSINTERVAL cMsTimeout) … … 519 522 { 520 523 # ifdef RT_OS_DARWIN 521 /** @todo check how Ctrl-C works on Darwin. */ 524 /** @todo check how Ctrl-C works on Darwin. 525 * Update: It doesn't work. MACH_RCV_INTERRUPT could perhaps be returned 526 * to __CFRunLoopServiceMachPort, but neither it nor __CFRunLoopRun 527 * has any way of expressing it via their return values. So, if 528 * Ctrl-C handling is important, signal needs to be handled on 529 * a different thread or something. */ 522 530 rc = waitForEventsOnDarwin(cMsTimeout); 523 531 # else // !RT_OS_DARWIN
Note:
See TracChangeset
for help on using the changeset viewer.