named arguments, string interpolation, please stop.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Jan 12 09:15:14 UTC 2024


On 12/01/2024 10:11 PM, Paolo Invernizzi wrote:
> On Friday, 12 January 2024 at 02:21:10 UTC, Guillaume Piolat wrote:
>> On Thursday, 11 January 2024 at 20:03:36 UTC, Paolo Invernizzi wrote:
>>>
>>> I've no ideas how you can have a list or external created pthreads 
>>> without horrible hack like hooking pthread_create.
>>>
>>
>>
>> Ocaml is exactly like D with that: 
>> https://v2.ocaml.org/manual/intfc.html#ss:c-thread-register
> 
> Yeah, I think every language is in the same D boat, if it doesn't hook 
> pthread_create.

Yes.

I couldn't find a way to do it when I was building my thread abstraction 
for linux.

Real shame, Windows solution with the 4 functions of DllMain in PE-COFF 
is briliant.


More information about the Digitalmars-d mailing list