Home | History | Annotate | Download | only in tests

Lines Matching refs:pid

57   GPid pid;
76 pid = pi.hProcess;
78 return pid;
80 pid = fork ();
81 if (pid < 0)
84 if (pid > 0)
85 return pid;
93 child_watch_callback (GPid pid, gint status, gpointer data)
98 g_print ("child " GPID_FORMAT " (ttl %d) exited, status %d\n", pid, ttl, status);
101 g_spawn_close_pid (pid);
125 GPid pid;
130 pid = get_a_child (ttl);
131 source = g_child_watch_source_new (pid);
137 g_print ("whee! created pid: " GPID_FORMAT " (ttl %d)\n", pid, ttl);
150 GPid pid;
188 pid = get_a_child (10);
189 g_child_watch_add (pid, (GChildWatchFunc) child_watch_callback,
191 pid = get_a_child (20);
192 g_child_watch_add (pid, (GChildWatchFunc) child_watch_callback,