8000 save IPC sockets for helper children · notion/forkdaemon-php@6e2fe42 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e2fe42

Browse files
author
Lindsay Snider
committed
save IPC sockets for helper children
1 parent 57447a5 commit 6e2fe42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fork_daemon.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,9 @@ public function helper_process_spawn($function_name, $arguments = array(), $iden
12561256
// set child properties
12571257
$this->child_bucket = self::DEFAULT_BUCKET;
12581258

1259+
// save the socket from child to parent to support $this->child_send_result_to_parent()
1260+
$this->child_socket_to_parent = $socket_parent;
1261+
12591262
// turn signals back on
12601263
pcntl_async_signals(true);
12611264

0 commit comments

Comments
 (0)
0