summary refs log tree commit diff stats
path: root/tests/threads
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-09-23 19:05:05 +0800
committerGitHub <noreply@github.com>2022-09-23 13:05:05 +0200
commit7739e23420c9a7a4ec7eccdddc0a39df9e905aa8 (patch)
treec2ec38a9dfa480a1bf8908ad95fa7212f7b9d78f /tests/threads
parent47b59e4d3315dbcb0b17d305f43cc35e4eb89e51 (diff)
downloadNim-7739e23420c9a7a4ec7eccdddc0a39df9e905aa8.tar.gz
defaults to ORC (#19972)
* defaults to Orc

* bootstrap using refc

* use gc

* init orc defines

* unregister orc

* fix gc

* fix commands

* add prepareMutation for orc

* enable deepcopy for orc

* prepareMutation

* more fixes

* some cases

* bug #20081

* partial fixes

* partial fixes

* fixes command line

* more fixes

* build Nim with refc

* use gc

* more fixes

* rstore

* orc doesn't support threadpool

* more shallowCopy

* more fixes

* fixes unsafeNew

* workarounds

* small

* more fixes

* fixes some megatest

* tcodegenbugs1 refc

* fxies megatest

* build nimble with refc

* workaround tensordsl tests

* replace shallowCopy with move

* fixes action

* workaround

* add todo

* fixes important packages

* unpublic unregisterArcOrc

* fixes cpp

* enable windows

Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
Diffstat (limited to 'tests/threads')
-rw-r--r--tests/threads/tjsthreads.nim2
-rw-r--r--tests/threads/tonthreadcreation.nim1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/threads/tjsthreads.nim b/tests/threads/tjsthreads.nim
index 1085d9157..2a8ff60fb 100644
--- a/tests/threads/tjsthreads.nim
+++ b/tests/threads/tjsthreads.nim
@@ -1,6 +1,6 @@
 discard """
   targets: "c cpp js"
-  matrix: "--threads"
+  matrix: "--threads:on"
 """
 
 echo 123
diff --git a/tests/threads/tonthreadcreation.nim b/tests/threads/tonthreadcreation.nim
index f588a21c9..0652d79f8 100644
--- a/tests/threads/tonthreadcreation.nim
+++ b/tests/threads/tonthreadcreation.nim
@@ -1,4 +1,5 @@
 discard """
+  matrix: "--mm:refc; --mm:orc --deepcopy:on"
   output: '''some string here
 dying some string here'''
 """
id='n204' href='#n204'>204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233