[Issue 14617] PTHREAD_MUTEX_INITIALIZER does not work on OSX

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 24 03:27:09 PDT 2015


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

--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Andrei, that's exactly what I did.

I just realized, I messed up and left that initializer in the types.d file,
when I tried doing it in the pthread.d file.

Fixing that, it does work. So we have a potential fix (not the preferred) of
fixing only PTHREAD_MUTEXT_INITIALIZER. I'll push the one with setting the init
value, and you can see whether it's easy to fix the Makefile.

Maybe I did something wrong with my testing...

--


More information about the Digitalmars-d-bugs mailing list