enable --tlsEmulation:on for --gc:arc (#13685)
* enable --tlsEmulation:on for --gc:arc * make -d:useMalloc work with --gc:arc --threads:on
This commit is contained in:
parent
a0ccfd16a7
commit
15ba765ebd
4 changed files with 5 additions and 8 deletions
|
|
@ -339,7 +339,7 @@ when defined(js):
|
|||
proc reallocShared0(p: pointer, oldsize, newsize: Natural): pointer = discard
|
||||
|
||||
|
||||
when hasAlloc and hasThreadSupport:
|
||||
when hasAlloc and hasThreadSupport and not defined(useMalloc):
|
||||
proc getOccupiedSharedMem*(): int {.rtl.}
|
||||
## Returns the number of bytes that are owned by the process
|
||||
## on the shared heap and hold data. This is only available when
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue