Lines Matching defs:child

189 	pid_t child = fork();
190 assert_posix_bool_success(child >= 0);
192 if (child == 0) {
193 // child
199 wait_for_child(child);
203 child = fork();
204 assert_posix_bool_success(child >= 0);
206 if (child == 0) {
207 // child
214 wait_for_child(child);
236 pid_t child = fork();
237 assert_posix_bool_success(child >= 0);
239 if (child == 0) {
240 // child
246 wait_for_child(child);
558 TEST("unblock child after wait");
559 pid_t child = fork();
560 assert_posix_bool_success(child >= 0);
562 if (child == 0) {
563 // child
574 wait_for_child(child);
582 child = fork();
583 assert_posix_bool_success(child >= 0);
585 if (child == 0) {
586 // child
598 wait_for_child(child);
605 TEST("unblock child after wait before timeout");
606 child = fork();
607 assert_posix_bool_success(child >= 0);
609 if (child == 0) {
610 // child
623 wait_for_child(child);
630 TEST("unblock child after wait after timeout");
631 child = fork();
632 assert_posix_bool_success(child >= 0);
634 if (child == 0) {
635 // child
648 wait_for_child(child);
689 TEST("unblock child after wait");
690 pid_t child = fork();
691 assert_posix_bool_success(child >= 0);
693 if (child == 0) {
694 // child
711 wait_for_child(child);
723 TEST("unblock child after wait before timeout");
724 child = fork();
725 assert_posix_bool_success(child >= 0);
727 if (child == 0) {
728 // child
747 wait_for_child(child);
759 TEST("unblock child after wait after timeout");
760 child = fork();
761 assert_posix_bool_success(child >= 0);
763 if (child == 0) {
764 // child
783 wait_for_child(child);
817 TEST("sem_wait() on fork()ed unnamed sem in parent and child");
818 pid_t child = fork();
819 assert_posix_bool_success(child >= 0);
821 if (child == 0) {
822 // child
836 wait_for_child(child);
843 TEST("sem_post() on fork()ed unnamed sem in parent and child");
844 child = fork();
845 assert_posix_bool_success(child >= 0);
847 if (child == 0) {
848 // child
861 wait_for_child(child);
899 TEST("unblock child after wait");
900 pid_t child = fork();
901 assert_posix_bool_success(child >= 0);
903 if (child == 0) {
904 // child
915 wait_for_child(child);
923 child = fork();
924 assert_posix_bool_success(child >= 0);
926 if (child == 0) {
927 // child
939 wait_for_child(child);
946 TEST("unblock child after wait before timeout");
947 child = fork();
948 assert_posix_bool_success(child >= 0);
950 if (child == 0) {
951 // child
964 wait_for_child(child);
971 TEST("unblock child after wait after timeout");
972 child = fork();
973 assert_posix_bool_success(child >= 0);
975 if (child == 0) {
976 // child
989 wait_for_child(child);