Home
last modified time | relevance | path

Searched refs:pid (Results 51 – 73 of 73) sorted by last modified time

123

/unit/src/
H A Dnxt_mp.c114 nxt_pid_t pid; member
213 if (nxt_slow_path(nxt_pid != mp->pid)) { in nxt_mp_thread_assert()
214 mp->pid = nxt_pid; in nxt_mp_thread_assert()
235 mp->pid = nxt_pid; in nxt_mp_thread_adopt()
H A Dnxt_port_rpc.c397 msg.port_msg.pid = nxt_pid; in nxt_port_rpc_remove_peer()
509 msg.port_msg.pid = nxt_pid; in nxt_port_rpc_close()
H A Dnxt_port_memory.c214 fd, process->pid); in nxt_port_incoming_port_mmap()
235 if (nxt_slow_path(hdr->src_pid != process->pid in nxt_port_incoming_port_mmap()
239 "%PI != %PI or %PI != %PI", hdr->src_pid, process->pid, in nxt_port_incoming_port_mmap()
722 "via shared memory", sb->size, port->pid); in nxt_port_mmap_write()
752 port->pid); in nxt_port_mmap_write()
781 msg->port_msg.pid); in nxt_port_mmap_read()
784 msg->port_msg.pid, mmap_msg); in nxt_port_mmap_read()
H A Dnxt_work_queue.h71 int32_t pid; member
H A Dnxt_log_moderation.h16 nxt_pid_t pid; member
H A Dnxt_cert.c962 port = nxt_runtime_port_find(task->thread->runtime, msg->port_msg.pid,
1134 port = nxt_runtime_port_find(task->thread->runtime, msg->port_msg.pid, in nxt_cert_store_get_handler()
1139 msg->port_msg.pid, msg->port_msg.reply_port); in nxt_cert_store_get_handler()
1147 msg->port_msg.pid); in nxt_cert_store_get_handler()
1230 if (nxt_slow_path(nxt_recv_msg_cmsg_pid(msg) != ctl_port->pid)) { in nxt_cert_store_delete_handler()
H A Dnxt_external.c129 proto_port->pid, proto_port->id, proto_port->pair[1], in nxt_external_start()
130 router_port->pid, router_port->id, router_port->pair[1], in nxt_external_start()
131 my_port->pid, my_port->id, my_port->pair[0], in nxt_external_start()
H A Dnxt_work_queue.c50 if (nxt_slow_path(nxt_pid != wq->pid)) { in nxt_work_queue_thread_assert()
51 wq->pid = nxt_pid; in nxt_work_queue_thread_assert()
68 wq->pid = nxt_pid; in nxt_work_queue_thread_adopt()
H A Dnxt_port_hash.c12 int32_t pid; member
27 && pid_port_id->pid == port->pid in nxt_port_hash_test()
69 pid_port.pid = port->pid; in nxt_port_hash_add()
85 port->id, port->pid); in nxt_port_hash_add()
100 pid_port.pid = port->pid; in nxt_port_hash_remove()
114 port->id, port->pid); in nxt_port_hash_remove()
123 nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid, in nxt_port_hash_find() argument
129 pid_port.pid = pid; in nxt_port_hash_find()
135 nxt_thread_log_debug("process port (%PI, %d) found", pid, port_id); in nxt_port_hash_find()
139 nxt_thread_log_debug("process port (%PI, %d) not found", pid, port_id); in nxt_port_hash_find()
H A Dnxt_port_hash.h18 nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
H A Dnxt_log_moderation.c54 mod->pid = nxt_pid; in nxt_log_moderate_allow()
89 msg = (mod->pid == nxt_pid); in nxt_log_moderate_timer_handler()
/unit/test/php/opcache/
H A Dindex.php3 $pid = getmypid(); variable
5 header('X-Pid: ' . $pid);
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit-debug.service10 # Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
19 Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
H A Dunit.logrotate10 if [ -f /var/run/unit/unit.pid ]; then
11 /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid`
H A Dunit.service10 # Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
19 Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
/unit/pkg/deb/debian/
H A Dunit-debug.service8 PIDFile=/var/run/unit.pid
H A Dunit.init32 if start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
44 if start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
59 /var/run/$NAME.pid --exec $DAEMON || true
62 /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_ARGS; then
H A Dunit.default1 DAEMON_ARGS="--log /var/log/unit.log --pid /var/run/unit.pid"
H A Dunit.logrotate11 if [ -f /var/run/unit.pid ]; then
12 /bin/kill -SIGUSR1 `cat /var/run/unit.pid`
H A Dunit.service8 PIDFile=/var/run/unit.pid
/unit/go/
H A Dnxt_cgo_lib.c54 return nxt_go_port_send(port->id.pid, port->id.id, in nxt_cgo_port_send()
63 return nxt_go_port_recv(port->id.pid, port->id.id, in nxt_cgo_port_recv()
H A Dport.go22 pid int member
101 pid: int(p.id.pid),
130 pid: int(p.id.pid),
143 func nxt_go_port_send(pid C.int, id C.int, buf unsafe.Pointer, buf_size C.int,
147 pid: int(pid),
154 nxt_go_alert("port %d:%d not found", pid, id)
171 func nxt_go_port_recv(pid C.int, id C.int, buf unsafe.Pointer, buf_size C.int,
175 pid: int(pid),
182 nxt_go_alert("port %d:%d not found", pid, id)
/unit/src/test/
H A Dnxt_cq_test.c127 nxt_pid_t pid; member
311 pid_t pid = fork(); in worker_create() local
313 if (pid == 0) { in worker_create()
318 wi->pid = pid; in worker_create()
333 waitpid(wi->pid, &wi->status, 0); in worker_wait()

123