Changeset 75726 in vbox
- Timestamp:
- Nov 25, 2018 8:12:28 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r75721 r75726 844 844 * The annoying EINTR/ERESTART loop is for the benefit of Solaris where 845 845 * sigwait returns when we receive a SIGCHLD. Kind of makes sense since 846 * the signal has to be delivered... Anyway, darwin (10.9.5) has a much 847 * worse way of dealing with SIGCHLD, apparently it'll just return any 848 * of the signals we're waiting on when SIGCHLD becomes pending on this 849 * thread. So, we wait for SIGCHLD here and ignores it. 846 850 */ 847 851 sigset_t signalMask; … … 852 856 sigaddset(&signalMask, SIGABRT); 853 857 sigaddset(&signalMask, SIGTERM); 858 sigaddset(&signalMask, SIGCHLD); 854 859 pthread_sigmask(SIG_BLOCK, &signalMask, NULL); 855 860 … … 864 869 || rc == ERESTART 865 870 # endif 871 || iSignal == SIGCHLD 866 872 ); 867 873
Note:
See TracChangeset
for help on using the changeset viewer.