1234567module juptune.event.loop.core;
void addNoGCThread(
void function(
) initialFiber
);
Creates a new thread that is specifically for @nogc code.
The thread is started immediately.
The thread is not managed by the DRuntime, so it is free from being paused by the GC.
However please note that this means pointers into GC memory should never be present in the thread, as the GC does not scan any of the memory used by the thread.
You are also limited to @nogc fibers. Attempting to start an @gc fiber will fail an assert.
Please refer to the repo's documentation for any further info, as it's a bit too cumbersome for a source code comment.