Nim doesn't expose that to the end user. The official docs for Nim locks say that whether a lock is re-entrant or not is "unspecified", so where are you seeing this?
@See: [https://nim-lang.org/docs/locks.html#Lock](https://nim-lang.org/docs/locks.html#Lock) A re-entrant lock is a lock that can be re-acquired by the same thread without causing a deadlock. [https://en.wikipedia.org/wiki/Reentrant_mutex](https://en.wikipedia.org/wiki/Reentrant_mutex) At the moment, at least on native linux, it is a re-entrant lock, and all locks on Windows are re-entrant, but for Javascript or other platforms I have no idea... This is probably why it is unspecified in the manual, it is very platform dependent. @see: [https://github.com/nim-lang/Nim/blob/master/lib/system/syslocks.nim#L187](https://github.com/nim-lang/Nim/blob/master/lib/system/syslocks.nim#L187)
