Is there a reason that core.sync.Condition.notify is not annotated @nogc?
Danni Coy
danni.coy at gmail.com
Sat Jul 11 06:22:44 UTC 2026
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20260711/92f1e49f/attachment.htm>
More information about the Digitalmars-d-learn
mailing list