Am 2017-11-28 um 13:53 schrieb Piotr Caban:
On 11/28/17 13:43, Stefan Dösinger wrote:
-@ cdecl _Thrd_equal(ptr ptr) +@ cdecl _Thrd_equal(ptr long ptr long)
The spec entries should be different in arm, i386 and x86_64 case (current entry is correct for win64 case).
Admittedly I haven't tested the non-i386 case, and I guess you are right, but I don't see what kind of magic makes the spec entry works on x86_64.
In _Thrd_current we have C_ASSERT(sizeof(_Thrd_t) <= sizeof(ULONGLONG)), but last time I checked a HANDLE was 64 bit long and the DWORD 32, so what am I missing here?
And even less sure about plain old ARM which is 32 bit...
Could you please also fix _Thrd_detach, _Thrd_join, _Thrd_lt entries?
Will do.