threadvar alternative
This commit is contained in:
parent
d2e2d71d05
commit
f717f1e628
4 changed files with 24 additions and 10 deletions
|
|
@ -39,6 +39,8 @@ type
|
|||
exc: ref E_Base # XXX only needed for bootstrapping; unused
|
||||
context: C_JmpBuf
|
||||
|
||||
when hasThreadSupport: nil
|
||||
|
||||
var
|
||||
excHandler {.threadvar, compilerproc.}: PSafePoint = nil
|
||||
# list of exception handlers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue