On 30-03-13 12:21, Alex Bligh wrote: > > On 29 Mar 2013, at 17:32, Wouter Verhelst wrote: > >> >> Actually, I am eating SIGCHLD; nbd-client.c, line 607. I suppose we >> can't deal with this any other way? > > For this particular case, can't you simply set the signal mask to 'ignore'?
I suppose, yes. > However, if you ever want to be able to receive signals and process them > (e.g. to dump some stats) you are going to have to deal with ERESTARTSYS > or EAGAIN anyway. I think I'd rather do that and avoid the fragility. We can't do that in nbd-client -- at least not unless the API is changed away from the NBD_DO_IT ioctl (Note that I'm not advocating that). -- Copyshops should do vouchers. So that next time some bureaucracy requires you to mail a form in triplicate, you can mail it just once, add a voucher, and save on postage. ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
