On Fri, Jun 10, 2011 at 10:37:03AM +0200, Nicolas CARRIER wrote:
> Hello,
> The following patch is an attempt to manage signals in pppob in a more 
> robust way, it uses signalfd.
>
> * the signal interception is move into main, before the thread creation 
> so that signal mask is shared between threads
> * a signalfd is created and appended to the fd set monitored by select.
> 
> The main advantage I see is that it allows to get rid of timeouts.
> 
> The main drawback I see is that signalfd is linux specific, hence 
> breaking compatibility with other unices.

Thanks!  Unfortunately, this drawback is enough to kill the patch.
There are users on FreeBSD and MacOSX that need a working Barry.

What is the main problem that this patch is trying to solve?  Are there
cases where the signals are not caught?  I think I've seen this myself
a few times, and didn't know what was happening.

Thanks,
- Chris


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to