コード例 #1
0
ファイル: MultiProcess.php プロジェクト: mheydt/scalr
 function onReady($pool)
 {
     $this->logger->info("[IPC] Store process pool (pid: {$this->processPool->getPid()}) in shm");
     $this->shm->put(0, $this->processPool->getPid());
     $this->logger->info("[IPC] Process pool PID check: " . $this->shm->get(0));
 }
コード例 #2
0
ファイル: MultiProcess.php プロジェクト: rakesh-mohanta/scalr
 function onReady($pool)
 {
     $this->logger->debug("Store process pool (pid: {$this->processPool->getPid()}) in shm");
     $this->shm->put(0, $this->processPool->getPid());
 }