alexrp/druntime — pull request #1 by dawgfoto (2012-07-18 18:03:03+00:00)
Title: loose memory barriers

- Thread.m_lock only needs to be interrupt safe

- (Windows) Thread.m_addr must not be reordered w.r.t. CloseHandle

- (Posix) Thread.m_addr needs no special handling because this write
will be visible when executing the finalizer

- use local import of posix.sys.mman because it contains
the conflicting declaration for msync(2)