Re: [gccsdk] pthread shutdown in atexit

2017-07-01 Thread Ralph Corderoy
Hi Alan, > I have a mysterious crash in a SDL based program when it attempts to > do a pthread_wait in an atexit handler. The error is: pthreads: > ***fatal error, aborting*** pthread_yield called with context > switching disabled. > > My guess is this means that GCC is shutting down the threads

[gccsdk] pthread shutdown in atexit

2017-06-30 Thread alan buckley
I have a mysterious crash in a SDL based program when it attempts to do a pthread_wait in an atexit handler. The error is: pthreads: ***fatal error, aborting*** pthread_yield called with context switching disabled. My guess is this means that GCC is shutting down the threads system before the