Changeset 23919 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Oct 20, 2009 5:48:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/uxproces.c
r23892 r23919 674 674 while (1) { 675 675 do { 676 #ifdef VBOX 677 /* 678 * make sure we wait only for child of our group 679 * to ensure we do not interfere with RT 680 */ 681 pid = waitpid((pid_t) 0, &status, 0); 682 #else 676 683 pid = waitpid((pid_t) -1, &status, 0); 684 #endif 677 685 } while ((pid_t) -1 == pid && EINTR == errno); 678 686 … … 764 772 while (1) { 765 773 do { 774 #ifdef VBOX 775 /* 776 * make sure we wait only for child of our group 777 * to ensure we do not interfere with RT 778 */ 779 pid = waitpid((pid_t) 0, &status, WNOHANG); 780 #else 766 781 pid = waitpid((pid_t) -1, &status, WNOHANG); 782 #endif 767 783 } while ((pid_t) -1 == pid && EINTR == errno); 768 784 if (0 == pid) break;
Note:
See TracChangeset
for help on using the changeset viewer.