EINTR problem in async_smb.c

Jeremy Allison jra at samba.org
Thu Oct 9 22:35:23 GMT 2008


On Fri, Oct 10, 2008 at 12:31:02AM +0200, Volker Lendecke wrote:
> On Thu, Oct 09, 2008 at 03:21:10PM -0700, Jeremy Allison wrote:
> > 	I think the following patch is needed
> > in async_smb.c to prevent problems with signal
> > delivery when called from smbd (or other signal
> > handling programs).
> > 
> > Can you comment please ?
> 
> While I hate the fact that you can't just Ctrl-C programs
> using sys_recv, probably you're right. Handling EINTR
> properly everywhere is a bigger change.

Ok, thanks - I'll commit. I was working on a similar
piece of code using your async ideas and needed an
example :-).

Cheers,

Jeremy.


More information about the samba-technical mailing list