Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 12 of 12) sorted by relevance

/memcached-1.6.32/
Dtimedrun.c18 static int wait_for_process(pid_t pid) in wait_for_process() argument
38 pid_t p = waitpid(pid, &status, 0); in wait_for_process()
39 if (p == pid) { in wait_for_process()
51 if (kill(pid, sig) < 0) { in wait_for_process()
72 if (kill(pid, sig) < 0) { in wait_for_process()
86 pid_t pid = fork(); in spawn_and_wait() local
88 switch (pid) { in spawn_and_wait()
99 rv = wait_for_process(pid); in spawn_and_wait()
Dtestapp.c518 pid_t pid = fork(); in start_server() local
519 assert(pid != -1); in start_server()
520 if (pid == 0) { in start_server()
629 pid = (pid_t)val; in start_server()
632 return pid; in start_server()
637 pid_t pid = start_server(&port, true, 600); in test_issue_44() local
638 assert(kill(pid, SIGHUP) == 0); in test_issue_44()
640 assert(kill(pid, SIGTERM) == 0); in test_issue_44()
Dmemcached.spec.in112 # pid directory
Dmemcached.c1771 pid_t pid = getpid(); in server_stats() local
1785 APPEND_STAT("pid", "%lu", (long)pid); in server_stats()
4231 unsigned int pid; local
4232 if (safe_strtoul(buffer, &pid) && kill((pid_t)pid, 0) == 0) {
4233 … fprintf(stderr, "WARNING: The pid file contained the following (running) pid: %u\n", pid);
/memcached-1.6.32/scripts/
Dstart-memcached105 my $pid = fork();
107 if($pid == 0)
113 $pid = fork();
114 if ($pid) {
117 print PIDHANDLE $pid;
Dmemcached.sysv34 …cached -d -p $PORT -u $USER -m $CACHESIZE -c $MAXCONN -P /var/run/memcached/memcached.pid $OPTIONS
46 rm -f /var/run/memcached/memcached.pid
Dmemcached-server.upstart25 exec /usr/share/memcached/scripts/start-memcached /etc/${name}.conf /var/run/${name}.pid
/memcached-1.6.32/t/lib/
DMemcachedTest.pm405 return Memcached::Handle->new(pid => $childpid,
433 if ($self->{pid}) {
434 kill 2, $self->{pid};
442 if ($self->{pid}) {
443 kill 15, $self->{pid};
451 if ($self->{pid}) {
452 kill 'SIGUSR1', $self->{pid};
460 if ($self->{pid}) {
461 kill 'SIGHUP', $self->{pid};
470 if ($self->{pid}) {
[all …]
/memcached-1.6.32/t/
Ddaemonize.t28 is($stats->{pid}, $readpid, "memcached reports same pid as file");
Dissue_67.t75 return Memcached::Handle->new(pid => $childpid);
/memcached-1.6.32/doc/
Dprotocol-binary.txt1664 Key : The textual string "pid"
Dprotocol.txt1302 | pid | 32u | Process id of this server process |