Re: pthread_attr_init() returning errors

2016-04-21 Thread Corinna Vinschen
On Apr 20 11:18, Ernie Rael wrote: > On 4/20/2016 10:22 AM, Canham, Timothy K (348C) wrote: > >I think I understand what happened now. The call to pthread_attr_init() is > >contained within a function we use to start threads. It is called successive > >times and it fails on the second call. It wo

Re: pthread_attr_init() returning errors

2016-04-20 Thread Ernie Rael
t: Re: pthread_attr_init() returning errors On Apr 20 14:20, Canham, Timothy K (348C) wrote: From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] On Apr 19 19:49, Canham, Timothy K (348C) wrote: I have some code to start a task that suddenly started failing. This is pretty mature code. Here i

RE: pthread_attr_init() returning errors

2016-04-20 Thread Canham, Timothy K (348C)
tware -Original Message- From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] Sent: Wednesday, April 20, 2016 7:40 AM To: cygwin@cygwin.com Cc: Canham, Timothy K (348C) Subject: Re: pthread_attr_init() returning errors On Apr 20 14:20, Canham, Timothy K (348C) wrote: >> From: Corin

Re: pthread_attr_init() returning errors

2016-04-20 Thread Corinna Vinschen
On Apr 20 14:20, Canham, Timothy K (348C) wrote: >> From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] >> On Apr 19 19:49, Canham, Timothy K (348C) wrote: >> > I have some code to start a task that suddenly started failing. This >> > is pretty mature code. Here is the code fragment with my

RE: pthread_attr_init() returning errors

2016-04-20 Thread Canham, Timothy K (348C)
-Original Message- From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] Sent: Wednesday, April 20, 2016 3:50 AM To: cygwin@cygwin.com Cc: Canham, Timothy K (348C) Subject: Re: pthread_attr_init() returning errors On Apr 19 19:49, Canham, Timothy K (348C) wrote: > I have some code to star

Re: pthread_attr_init() returning errors

2016-04-20 Thread Corinna Vinschen
On Apr 19 19:49, Canham, Timothy K (348C) wrote: > I have some code to start a task that suddenly started failing. This is > pretty mature code. Here is the code fragment with my added printf() > > pthread_attr_t att; > int stat = pthread_attr_init(&att); > if (stat != 0)

Re: pthread_attr_init() returning errors

2016-04-19 Thread Václav Haisman
On 19.4.2016 21:49, Canham, Timothy K (348C) wrote: > I have some code to start a task that suddenly started failing. This is > pretty mature code. Here is the code fragment with my added printf() > > pthread_attr_t att; > int stat = pthread_attr_init(&att); > if (stat !=