diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-09-01 19:50:50 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-09-01 19:50:50 +0000 |
commit | a06f805e1c82a6ee83a6673e0f16c659dcf7d1ef (patch) | |
tree | 40c8c071ffdd26536d754659f5e766c22c764cd6 /fastos | |
parent | 8f9e6a1bd180d945c4d9c834b87ee8d8ec11cb2c (diff) |
remove unused ProcessStarter::Run()
Diffstat (limited to 'fastos')
-rw-r--r-- | fastos/src/vespa/fastos/unix_process.cpp | 16 | ||||
-rw-r--r-- | fastos/src/vespa/fastos/unix_process.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/fastos/src/vespa/fastos/unix_process.cpp b/fastos/src/vespa/fastos/unix_process.cpp index 519a6df4f05..2d3ef4a534e 100644 --- a/fastos/src/vespa/fastos/unix_process.cpp +++ b/fastos/src/vespa/fastos/unix_process.cpp @@ -1274,22 +1274,6 @@ void FastOS_UNIX_ProcessStarter::StarterDoCreateProcess () delete [] environmentVariables; } -void FastOS_UNIX_ProcessStarter::Run () -{ - for(;;) - { - // Receive commands from main process - int command = ReadInt(_starterSocket); - - switch(command) - { - case CODE_WAIT: StarterDoWait(); break; - case CODE_NEWPROCESS: StarterDoCreateProcess(); break; - case CODE_EXIT: _exit(2); - } - } -} - bool FastOS_UNIX_ProcessStarter::CreateSocketPairs () { bool rc = false; diff --git a/fastos/src/vespa/fastos/unix_process.h b/fastos/src/vespa/fastos/unix_process.h index 346d7def100..a7f54047cf0 100644 --- a/fastos/src/vespa/fastos/unix_process.h +++ b/fastos/src/vespa/fastos/unix_process.h @@ -199,7 +199,6 @@ protected: char **ReceiveEnvironmentVariables (); bool CreateSocketPairs (); - void Run (); void AddChildProcess (FastOS_UNIX_RealProcess *node); void RemoveChildProcess (FastOS_UNIX_RealProcess *node); |