named arguments, string interpolation, please stop.
Paolo Invernizzi
paolo.invernizzi at gmail.com
Thu Jan 11 20:03:36 UTC 2024
On Thursday, 11 January 2024 at 19:58:43 UTC, Walter Bright wrote:
> On 1/11/2024 9:56 AM, deadalnix wrote:
>> But that doesn't work. If a GC cycle kicks in in between the
>> thread starting and you having the chance to attach it, you
>> may end up collecting live objects. This is what killed the
>> project, BTW.
>>
>> Having thread that are not managed by the GC is a fine thing
>> to want, but you got to do it the other way around by
>> detaching the thread from the GC.
>
> If you could pseudocode a solution, we can add it to the
> bugzilla issue. Threading issues are not something I have much
> expertise in.
I've no ideas how you can have a list or external created
pthreads without horrible hack like hooking pthread_create.
/P
More information about the Digitalmars-d
mailing list