From 2208c5c67f044fd5e39703376d0ccc0b93cb40fe Mon Sep 17 00:00:00 2001 From: Smooth Operator Date: Tue, 8 Jun 2021 20:55:18 -0400 Subject: [PATCH] fix leorize's lame musls (#42) --- balls/spec.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/balls/spec.nim b/balls/spec.nim index 7d678cb..6d2809c 100644 --- a/balls/spec.nim +++ b/balls/spec.nim @@ -156,11 +156,10 @@ proc flushStderr*() {.noconv, used.} = when compileOption"threads": import std/rlocks var clobber {.global.}: RLock + initRLock clobber template noclobber*(body: untyped) = ## serialize access to the body; usually for output reasons - once: - initRLock clobber withRLock clobber: body else: