Changeset 95204 in vbox for trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
- Timestamp:
- Jun 5, 2022 8:33:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r95202 r95204 416 416 { 417 417 aSegs[cSegs++].iov_base = (char *)"(on thread "; 418 aSegs[cSegs++].iov_base = (char *)pszThread; 418 aSegs[cSegs++].iov_base = (char *)pszThread; 419 419 aSegs[cSegs++].iov_base = (char *)")\n"; 420 420 } … … 426 426 # else 427 427 LogRel(("VBoxHeadless: received signal %d\n", sig)); /** @todo r=bird: This is not at all safe. */ 428 # endif 428 # endif 429 429 g_fTerminateFE = true; 430 430 } … … 471 471 } 472 472 473 /** 473 /** 474 474 * @callback_method_impl{FNRTTHREAD, Signal wait thread} 475 475 */ … … 483 483 for (unsigned i = 0; i < RT_ELEMENTS(g_aiSigs); i++) 484 484 sigaddset(&SigSetWait, g_aiSigs[i]); 485 485 486 486 /* The wait + processing loop: */ 487 487 for (;;) … … 521 521 RTMsgError("sigaction failed for signal #%u: %d", g_aiSigs[i], errno); 522 522 } 523 523 524 524 # if defined(RT_OS_DARWIN) 525 525 /* … … 1451 1451 #if !defined(RT_OS_WINDOWS) 1452 1452 ::SetUpSignalHandlers(); 1453 #else 1453 #else 1454 1454 /* 1455 1455 * Register windows console signal handler to react to Ctrl-C,
Note:
See TracChangeset
for help on using the changeset viewer.