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


Martin Nowak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #15 from Martin Nowak <[email protected]> 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: -------

Reply via email to