webkitpy: Notify parent process when a worker is spawned
[WebKit-https.git] / Tools / Scripts / webkitpy / common / message_pool.py
index 03056cf..b639520 100644 (file)
@@ -107,6 +107,8 @@ class _MessagePool(object):
             worker = _Worker(host, self._messages_to_manager, self._messages_to_worker, self._worker_factory, worker_number, self._running_inline, self if self._running_inline else None, self._worker_log_level())
             self._workers.append(worker)
             worker.start()
+            if not self._running_inline:
+                self._caller.handle('did_spawn_worker', worker_number)
             if self._worker_startup_delay_secs:
                 time.sleep(self._worker_startup_delay_secs)