On Saturday, 11 July 2026 at 06:22:44 UTC, Danni Coy wrote:
Trying to write low latency code, I have a thread that
allocates memory
ahead of what I need.
The thread is only needed occasionally, so I was going to try
core.sync.Condition.wait in the threads main loop, so far so
good.
Ok so the realtime thread needs to wake up the memory thread,
which uses core.sync.Condition.notify - the problem is that I
have my realtime thread annotated @nogc.
See:
<https://forum.dlang.org/post/[email protected]>