Re: [PATCH] [RFC] Fix pthread timeout handling and cancellation issues

2013-02-03 Thread Samuel Thibault
Samuel Thibault, le Sun 03 Feb 2013 01:52:20 +0100, a écrit : > Richard Braun, le Sat 02 Feb 2013 16:44:20 +0100, a écrit : > > diff --git a/sysdeps/mach/hurd/pt-docancel.c > > b/sysdeps/mach/hurd/pt-docancel.c > > index 105c6fd..b3a5507 100644 > > --- a/sysdeps/mach/hurd/pt-docancel.c > > +++ b/s

Re: [PATCH] [RFC] Fix pthread timeout handling and cancellation issues

2013-02-03 Thread Samuel Thibault
Richard Braun, le Sat 02 Feb 2013 16:44:20 +0100, a écrit : > diff --git a/sysdeps/mach/hurd/pt-docancel.c b/sysdeps/mach/hurd/pt-docancel.c > index 105c6fd..b3a5507 100644 > --- a/sysdeps/mach/hurd/pt-docancel.c > +++ b/sysdeps/mach/hurd/pt-docancel.c > @@ -36,6 +36,8 @@ __pthread_do_cancel (struc

[PATCH] [RFC] Fix pthread timeout handling and cancellation issues

2013-02-02 Thread Richard Braun
Here is the fixed version of my current work about fixing functions that block for a limited time (e.g. pthread_cond_timedwait), and cancellation, with additional description of what it is about. This patch solves two issues. The first one is cancellation handling when a cancellation request is se

Re: [PATCH] [RFC] Fix pthread timeout handling and cancellation issues

2013-01-24 Thread Richard Braun
On Thu, Jan 24, 2013 at 12:14:44AM +0100, Richard Braun wrote: > diff --git a/pthread/pt-cancel.c b/pthread/pt-cancel.c > index d19c557..3698cce 100644 > --- a/pthread/pt-cancel.c > +++ b/pthread/pt-cancel.c > @@ -31,9 +31,31 @@ pthread_cancel (pthread_t t) >if (! p) > return ESRCH; > >

[PATCH] [RFC] Fix pthread timeout handling and cancellation issues

2013-01-23 Thread Richard Braun
Here is the current state of my work about fixing functions that block for a limited time (e.g. pthread_cond_timedwait), and cancellation. --- pthread/pt-alloc.c |3 + pthread/pt-cancel.c | 26 +- pthread/pt-internal.h |8 ++