[Issue 11981] unittest 'host' deadlock

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 9 02:27:56 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11981


Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu


--- Comment #15 from Martin Nowak <code at dawg.eu> 2014-02-09 02:27:31 PST ---
(In reply to comment #14)
> The thread start up code looks very race-prone, I hadn't looked at it before.

Yeah, pretty subtle, I'd really like to get rid of the Fiber context stack for
example, but it's not trivial. One reason is that we're using suspend/resume on
OSX and Windows but signals on Posix.

> Async-safe TLS access is scheduled for glibc 2.19 (upcoming
release.)
As I wrote on the pull request, a correct fix would be to let Thread.sm_this
use pthread_getspecific again.
https://github.com/D-Programming-Language/druntime/pull/718#discussion_r9568348

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list