[gccsdk] pthread shutdown in atexit
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 atexit handler is being called. Is there anything I can do to workaround this problem? e.g. Is there a function I can call or a variable I can check to see if threading has been stopped so I can avoid the call? Or is there a way to detect I’m in an atexit hander? Thanks, Alan ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Is there activity here?
In message <20170630102711.ga25...@chiark.greenend.org.uk> Theo Markettoswrote: >On Thu, Jun 29, 2017 at 09:15:35PM +0100, Dave Higton wrote: >> ... and, if there is: have I failed to notice it, or did it not >> arrive in my inbox? > >Are you measuring activity by mail, or by programming? By mail. It has become clear that I can post to the list - which, since it's a moderated list, must mean that I'm subscribed to it - but I don't receive mail from it. This email is only going to the list because Theo kindly copied me privately. So how do I get list mail to be sent to me? Dave ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Is there activity here?
On Thu, Jun 29, 2017 at 09:15:35PM +0100, Dave Higton wrote: > ... and, if there is: have I failed to notice it, or did it not > arrive in my inbox? Are you measuring activity by mail, or by programming? In the latter case, I don't have a lot of time these days but various things I've been doing: 1. Experimenting with converting the riscos.info SVN repos to git, to allow some resilience and easier staging of patches. For example: https://github.com/caliston/gccsdk (that's entirely throwaway for the time being, so please don't rely on it). There's no intention to deprecate the existing SVN, merely to put in place some two way bridges so it's possible to use either. 2. Dependent on 1), I have some patches to build bits of GCCSDK with FreeBSD (and perhaps macOS, etc). I need to check I don't break the existing builds before committing them to SVN head. 2b. I notice Debian have made a new release, which means some of our upstream package versions have shifted and don't build any more. I'm not sure what to do about that. 3. The fast Jenkins build server has been down for a long while due to the somewhat complex network setup behind the scenes being broken, which I need to reinstate. Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Is there activity here?
Hi Dave, > ... and, if there is: have I failed to notice it, or did it not > arrive in my inbox? http://www.riscos.info/pipermail/gcc/2017-May/thread.html -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK