Lines Matching defs:system
54 static uint_t sys_count = 0; /* number of threads in system() */
90 * It would be better if there were a system call to disinherit
106 if (--sys_count == 0) { /* leaving system() */
108 * There are no remaining threads in system(), so
120 system(const char *cmd)
164 * This is in order to satisfy the Posix requirement on system():
165 * The system function shall behave as if a child process were
169 * is created, the return value from system() shall be as if
181 * The POSIX spec for system() requires us to block SIGCHLD,
203 * to be ignored for the duration of the system() operation.
205 * We allow more than one thread to call system() concurrently by
207 * to SIG_IGN when the first thread calls system(). They are
208 * restored in cleanup() when the last thread exits system().
210 * However, system() is still MT-unsafe because sigaction() has
249 * system() is a cancellation point and so is waitpid().