Re: pthread_join() problem

2013-06-07 Thread David Stacey
On 07/06/13 16:58, Christopher Faylor wrote: On Mon, Jun 03, 2013 at 12:01:02PM +0200, Corinna Vinschen wrote: >On Jun 2 23:01, David Stacey wrote: >>I'm trying to get Poco[1] working under Cygwin, and have hit a >>problem with the way it manages its threads. A short example >>(attached) shows

Re: pthread_join() problem

2013-06-07 Thread Corinna Vinschen
On Jun 7 18:16, Denis Excoffier wrote: > > On 2013-06-07 17:58, Christopher Faylor wrote: > > I've reworked this change since Corinna's fix was to what should have > > been obsolete code. A new snapshot should be uploaded soon. > > > Compared to the 1.7.20, the new snapshot (20130607) contains

Re: pthread_join() problem

2013-06-07 Thread Denis Excoffier
On 2013-06-07 17:58, Christopher Faylor wrote: > I've reworked this change since Corinna's fix was to what should have > been obsolete code. A new snapshot should be uploaded soon. > Compared to the 1.7.20, the new snapshot (20130607) contains /usr/include/stdatomic.h Is it OK? Regards, Denis

Re: pthread_join() problem

2013-06-07 Thread Christopher Faylor
On Mon, Jun 03, 2013 at 12:01:02PM +0200, Corinna Vinschen wrote: >On Jun 2 23:01, David Stacey wrote: >> I'm trying to get Poco[1] working under Cygwin, and have hit a >> problem with the way it manages its threads. A short example >> (attached) shows what's going on. >> >> Poco creates a global

Re: pthread_join() problem

2013-06-04 Thread Corinna Vinschen
On Jun 3 20:49, David Stacey wrote: > On 03/06/13 11:01, Corinna Vinschen wrote: > >I tracked this down to a problem in the process exit handling which > >disallowed pthreads to exit when process exit was in progress (and > >running the global destructors is part of the process exit). I fixed > >

Re: pthread_join() problem

2013-06-03 Thread David Stacey
On 03/06/13 11:01, Corinna Vinschen wrote: I tracked this down to a problem in the process exit handling which disallowed pthreads to exit when process exit was in progress (and running the global destructors is part of the process exit). I fixed that in CVS. I'm just uploading a 2013-06-03 sna

Re: pthread_join() problem

2013-06-03 Thread Corinna Vinschen
On Jun 2 23:01, David Stacey wrote: > I'm trying to get Poco[1] working under Cygwin, and have hit a > problem with the way it manages its threads. A short example > (attached) shows what's going on. > > Poco creates a global object that is used for managing various > threads. In the destructor,

pthread_join() problem

2013-06-02 Thread David Stacey
I'm trying to get Poco[1] working under Cygwin, and have hit a problem with the way it manages its threads. A short example (attached) shows what's going on. Poco creates a global object that is used for managing various threads. In the destructor, the class calls pthread_join() to wait for th