alternative to #18185

This commit is contained in:
flywind
2021-06-07 12:52:26 +08:00
parent e577bd571c
commit d0d8a43793

View File

@@ -11,7 +11,10 @@
when not compileOption("threads") and not defined(nimdoc):
{.error: "Rlocks requires --threads:on option.".}
when false:
# make rlocks modlue consistent with locks module,
# so they can replace each other seamlessly.
{.error: "Rlocks requires --threads:on option.".}
const insideRLocksModule = true
include "system/syslocks"