C++ Condition Variables (Multithreading)

I see the cpp target library has a Lock and a Mutex class, but not a Condition Variable. Those, to me, are an indispensable tool when it comes to thread synchronization.

So far it seems like I would have to write a native module myself, which I’d prefer to avoid, being a newcomer to Haxe still… Maybe anybody knows of a library that already provides such functionality?


Can you give us more context of exactly what you are trying to do? How would you use a condition variable if you had one?

Some googling brought up the haxe-concurrent lib which includes a semaphore implementation - that should do the job.