[Issue 19481] Aborting from local/libphobos/libdruntime/core/sync/mutex.d(95) Error: pthread_mutex_init failed.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 12 20:00:22 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19481

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #1 from kinke at gmx.net ---
`Mutex.m_hndl.alignof` (as it's a CRITICAL_SECTION for Windows) doesn't work,
as it's private.

There's no way to get the class instance alignment, is there? Plus anything >
16 bytes isn't guaranteed by the GC either AFAIK. So class alignments seem a
bit problematic in general.

--


More information about the Digitalmars-d-bugs mailing list