Unfortunately, docs on https://nim-lang.org/docs/locks.html is not enough for me.
E.g. I don't understand an interaction between 'acquire(lock)'/'release(lock)' and 'wait(cond, lock)' :(
I'll be very grateful to anyone who provide me some good explanation (or link) or example code.
Thanks