Garbage Collection and gamedev - tl;dr Yes we want it, so let's solve it

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Mon Nov 23 09:52:33 UTC 2020


On Monday, 23 November 2020 at 08:58:43 UTC, Ola Fosheim Grostad 
wrote:
> On Monday, 23 November 2020 at 08:17:30 UTC, Ola Fosheim 
> Grostad wrote:
>> You have to be very careful when writing applications that 
>> call fork, you don't want two processes appending to the same 
>> file etc.
>
> I guess this is not an issue with POSIX fork in this context as 
> it only keeps the thread that called fork. But there can be 
> issues related to resources.

For instance, if the app marks memory as dontfork with madvise 
and the gc traces a pointer into that memory.


More information about the Digitalmars-d mailing list