~SocketPair() { closeParent(); closeChild(); }
void spawn(int sock) { if (!sock) return; if (fork()) closeParent(sock); else while (!done) work(sock); }
~SocketPair() { closeParent(); closeChild(); }
void spawn(int sock) { if (!sock) return; if (fork()) closeParent(sock); else while (!done) work(sock); }