| /PHP_TRUNK/ext/pcntl/ |
| H A D | test-pcntl.php | 16 $pid=pcntl_fork(); variable 17 if ($pid==0) { 33 posix_kill($pid,SIGALRM); 36 posix_kill($pid,SIGUSR1); 39 pcntl_waitpid($pid, &$status, $options);
|
| H A D | pcntl.c | 57 ZEND_ARG_INFO(0, pid) 127 ZEND_ARG_INFO(0, pid) 135 ZEND_ARG_INFO(0, pid) 568 /* {{{ proto int pcntl_waitpid(int pid, int &status, int options) 572 long pid, options = 0; local 577 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz|l", &pid, &z_status, &options) == FAILURE) 584 child_id = waitpid((pid_t) pid, &status, options); 1059 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid"), siginfo.si_pid); 1103 /* {{{ proto int pcntl_getpriority([int pid [, in 1108 long pid = getpid(); local 1147 long pid = getpid(); local [all...] |
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 17211 PID pid; local 17213 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 17228 PID pid; local 17231 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 17239 PID pid; local 17242 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 17250 PID pid; local 17252 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 23351 OSTRACE(("SHM-PURGE pid-%d unmap region=%d %s\n", 23649 OSTRACE(("SHM-LOCK shmid-%d, pid 29808 int pid, fd; local 34092 DWORD pid = GetCurrentProcessId(); local [all...] |
| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm.c | 32 .pid = NULL, 45 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon) /* {{{ */ argument 53 fpm_globals.pid = pid; 83 zlog(ZLOG_NOTICE, "fpm is running, pid %d", (int) fpm_globals.parent_pid);
|
| H A D | fpm.h | 40 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon); 48 char *pid; member in struct:fpm_globals_s
|
| H A D | fpm_children.c | 122 static struct fpm_child_s *fpm_child_find(pid_t pid) /* {{{ */ argument 130 if (child->pid == pid) { 180 pid_t pid; local 183 while ( (pid = waitpid(-1, &status, WNOHANG | WUNTRACED)) > 0) { 188 child = fpm_child_find(pid); 227 zlog(ZLOG_NOTICE, "child %d stopped for tracing", (int) pid); 252 zlog(severity, "[pool %s] child %d exited %s after %ld.%06d seconds from start", child->wp->config->name, (int) pid, buf, tv2.tv_sec, (int) tv2.tv_usec); 254 zlog(ZLOG_DEBUG, "[pool %s] child %d has been killed by the process managment after %ld.%06d seconds from start", child->wp->config->name, (int) pid, tv2.tv_sec, (int) tv2.tv_usec); 295 zlog(ZLOG_ALERT, "oops, unknown child (%d) exited %s. Please open a bug report (https://bugs.php.net).", pid, bu 363 pid_t pid; local [all...] |
| H A D | fpm_children.h | 32 pid_t pid; member in struct:fpm_child_s
|
| H A D | fpm_php_trace.c | 46 pid_t pid = child->pid; local 57 fprintf(slowlog, "\n%s [pool %s] pid %d\n", buf, child->wp->config->name, (int) pid); 144 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); 153 if (0 > fpm_trace_ready(child->pid)) { 161 if (0 > fpm_trace_close(child->pid)) { 169 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); 172 zlog(ZLOG_NOTICE, "finished trace of %d", (int) child->pid);
|
| H A D | fpm_process_ctl.c | 122 int fpm_pctl_kill(pid_t pid, int how) /* {{{ */ argument 142 return kill(pid, s); 155 int res = kill(child->pid, signo); 159 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid); 370 fpm_pctl_kill(last_idle_child->pid, FPM_PCTL_QUIT); 383 fpm_pctl_kill(last_idle_child->pid, FPM_PCTL_QUIT);
|
| H A D | fpm_scoreboard.c | 247 void fpm_scoreboard_child_use(struct fpm_scoreboard_s *scoreboard, int child_index, pid_t pid) /* {{{ */ argument 256 proc->pid = pid;
|
| H A D | fpm_scoreboard.h | 27 pid_t pid; member in struct:fpm_scoreboard_proc_s 85 void fpm_scoreboard_child_use(struct fpm_scoreboard_s *scoreboard, int child_index, pid_t pid);
|
| H A D | fpm_trace_mach.c | 47 int fpm_trace_signal(pid_t pid) /* {{{ */ argument 49 if (0 > fpm_pctl_kill(pid, FPM_PCTL_STOP)) { 50 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); 57 int fpm_trace_ready(pid_t pid) /* {{{ */ argument 61 kr = task_for_pid(mach_task_self(), pid, &target); 75 int fpm_trace_close(pid_t pid) /* {{{ */ argument
|
| H A D | fpm_trace_pread.c | 26 int fpm_trace_signal(pid_t pid) /* {{{ */ argument 28 if (0 > fpm_pctl_kill(pid, FPM_PCTL_STOP)) { 29 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); 36 int fpm_trace_ready(pid_t pid) /* {{{ */ argument 40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid); 50 int fpm_trace_close(pid_t pid) /* {{{ */ argument
|
| H A D | fpm_trace_ptrace.c | 29 int fpm_trace_signal(pid_t pid) /* {{{ */ argument 31 if (0 > ptrace(PTRACE_ATTACH, pid, 0, 0)) { 32 zlog(ZLOG_SYSERROR, "failed to ptrace(ATTACH) child %d", pid); 39 int fpm_trace_ready(pid_t pid) /* {{{ */ argument 41 traced_pid = pid; 46 int fpm_trace_close(pid_t pid) /* {{{ */ argument 48 if (0 > ptrace(PTRACE_DETACH, pid, (void *) 1, 0)) { 49 zlog(ZLOG_SYSERROR, "failed to ptrace(DETACH) child %d", pid); 68 zlog(ZLOG_SYSERROR, "failed to ptrace(PT_IO) pid %d", traced_pid); 75 zlog(ZLOG_SYSERROR, "failed to ptrace(PEEKDATA) pid [all...] |
| H A D | fpm_unix.c | 280 pid_t pid = fork(); local 281 switch (pid) {
|
| /PHP_TRUNK/ext/com_dotnet/ |
| H A D | com_wrapper.c | 219 /* [out] */ DISPID *pid) 234 *pid = Z_LVAL_PP(tmp); 405 /* [out] */ DISPID *pid) 414 *pid = next; 458 ulong pid; local 472 &namelen, &pid, 0, &pos))) { 475 snprintf(namebuf, sizeof(namebuf), "%d", pid); 489 pid = zend_hash_next_free_element(disp->dispid_to_name); 490 zend_hash_index_update(disp->dispid_to_name, pid, (void*)&tmp, sizeof(zval *), NULL); 493 ZVAL_LONG(tmp, pid); 215 disp_getdispid( IDispatchEx *This, BSTR bstrName, DWORD grfdex, DISPID *pid) argument 401 disp_getnextdispid( IDispatchEx *This, DWORD grfdex, DISPID id, DISPID *pid) argument 590 ulong pid; local [all...] |
| /PHP_TRUNK/ext/posix/ |
| H A D | posix.c | 61 ZEND_ARG_INFO(0, pid) 122 ZEND_ARG_INFO(0, pid) 128 ZEND_ARG_INFO(0, pid) 134 ZEND_ARG_INFO(0, pid) 391 /* {{{ proto bool posix_kill(int pid, int sig) 396 long pid, sig; local 398 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &pid, &sig) == FAILURE) { 402 if (kill(pid, sig) < 0) { 557 /* {{{ proto bool posix_setpgid(int pid, int pgid) 561 long pid, pgi local [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | pageinfo.c | 137 int pid; local 143 pid = getpid(); 144 if (pid < 0) { 147 RETURN_LONG((long) pid);
|
| /PHP_TRUNK/sapi/litespeed/ |
| H A D | lsapi_main.c | 642 pid_t pid; local 660 pid = fork(); 661 switch( pid ) { 682 pid = wait( &status );
|
| H A D | lsapilib.c | 1651 static lsapi_child_status * find_child_status( int pid ) 1656 if ( pStatus->m_pid == pid ) { 1668 int status, pid; local 1671 pid = waitpid( -1, &status, WNOHANG|WUNTRACED ); 1672 if ( pid <= 0 ) { 1675 child_status = find_child_status( pid ); 1793 int pid; local 1878 pid = fork(); 1879 if ( !pid ) { 1895 if ( pid [all...] |
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_debug.h | 53 int pid; member in struct:st_mysqlnd_debug
|
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | compress.c | 391 pid_t pid; local 405 switch (pid = fork()) { 496 while (waitpid(pid, NULL, WNOHANG) != -1)
|
| /PHP_TRUNK/sapi/cgi/ |
| H A D | cgi_main.c | 1437 fprintf(stderr, "FastCGI shutdown, pid %d\n", getpid()); 2004 pid_t pid; local 2033 pid = fork(); 2034 switch (pid) { 2060 fprintf(stderr, "Wait for kids, pid %d\n", getpid());
|