alternative to #18185 (#18206)

This commit is contained in:
flywind
2021-06-07 21:32:37 +08:00
committed by GitHub
parent 429b128632
commit 5bad022d58

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"