diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-26 08:19:58 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-26 08:19:58 +0100 |
| commit | f70495a48646e54272783b4b709aca0396cb85f8 (patch) | |
| tree | 5e63b1f57582b3f025f1008034e4b066db0c32a6 /test/socket_test.cc | |
| parent | 9c26f52e0942e3ddc8fe90fad5da871324c66f08 (diff) | |
Create daemon module and use it from server
Need to run setup() after forking, otherwise each TaskRunner created
in setup() will dead-lock at exit as there are now two copies of
each of them but not of the threads causing the destructors to lock.
This made setup a little bit more complicated as it has to forward
the log and status to parent process but I turned out quite nice.
Diffstat (limited to 'test/socket_test.cc')
0 files changed, 0 insertions, 0 deletions
