These pthread-pool-jobs should be minimal and ideally only do one
syscall. The closing of the fds is done in unix_dgram_job_finished().
Pair-Programmed-With: Volker Lendecke <vl@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
do {
dmsg->sent = sendmsg(dmsg->sock, &msg, 0);
} while ((dmsg->sent == -1) && (errno == EINTR));
-
- close_fd_array(dmsg->fds, dmsg->num_fds);
}
static void unix_dgram_job_finished(struct poll_watch *w, int fd, short events,