mirror of https://git.code.sf.net/p/isync/isync
Browse Source
this generally went unnoticed, as the tunnel usually terminates right before we exit anyway. however, if multiple Channels are synced, it may become visible. this is a "shotgun" implementation, where the main loop just reaps all unclaimed children. arguably, it would be cleaner if each socket actually tracked its own process, but getting synchronous kills+waits right is tricky, so we continue to pretend that there is no process as far as the socket layer is concerned. poll()/select() are not restartable, so they need EINTR handling now that SIGCHLD is actually delivered.wip/socket-debug
Oswald Buddenhagen
3 years ago
5 changed files with 47 additions and 2 deletions
Loading…
Reference in new issue