summary refs log tree commit diff stats
path: root/lib/system/threads.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/threads.nim')
-rwxr-xr-xlib/system/threads.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 87411c935..81e0cb00a 100755
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -165,7 +165,7 @@ type
   TThreadLocalStorage = array [0..1_000, float]
 
   PGcThread = ptr TGcThread
-  TGcThread {.pure.} = object
+  TGcThread {.pure, inheritable.} = object
     sys: TSysThread
     when emulatedThreadVars and not useStackMaskHack:
       tls: TThreadLocalStorage