summary refs log tree commit diff stats
path: root/tests/threads
Commit message (Collapse)AuthorAgeFilesLines
* fixes a severe bug of testament (#20832)ringabout2022-11-179-1/+9
| | | | | | | | | | | | | | | | | | | * test azure * use exit 1 * try again * use useSysAssert * disable i386 * use refc for tlsEmulation on i386 * use refc * disable i386 Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* rename `std/threads` to `std/typedthreads` (#20850)ringabout2022-11-161-1/+1
| | | | | | | | | * rename `std/threads` to `std/oldthreads` * fixes tests * rename to `typedthreads` * changelog
* fixes flaky CI with channels and ORC (#20831)ringabout2022-11-131-0/+1
| | | | | fixes flasky CI with channels channels doesn't seem to work well with arc/orc
* put std/threads under the umbrella of nimPreviewSlimSystem (#20711)ringabout2022-10-311-0/+1
| | | | | | | | | | | * put `std/threads` under the umbrella of `nimPreviewSlimSystem` * add changelog * fixes tests * fixes tests again * fixes tests
* Make output assertion deterministic for test for #7172 (#20495)Matt Haggard2022-10-051-2/+2
| | | Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* defaults to ORC (#19972)ringabout2022-09-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* add testcase for #6499 #12229 #7172 (#18547)flywind2021-07-211-0/+32
|
* fix #17267 (#17273)flywind2021-03-071-0/+6
| | | | | | | | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage * fix #17267 * address comments * Update compiler/main.nim * Update tests/threads/tjsthreads.nim
* faster CIs (#13803)Miran2020-03-305-57/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ttables: smaller table, 5x speedup * thavlak: less iterations, less loops; 30% speedup * tasyncclosestall: shorter timeout; 35% speedup * gcleak4: less iterations, 2x speedup * ttimes: remove deprecated stuff * tdangerisrelease: remove cpp backend, 3x speedup * tfrexp1: smaller range, 2x speedup * trtree: fix warnings, less iterations, 6x speedup * tasyncawait_cyclebreaker: smaller swarm size; 2x speedup * trealloc: smaller number of iterations; 10x speedup * towned_binary_tree: less iterations, 4x speedup * tclosure: remove unused code, less iterations; 2x speedup * twaitany: less durations; 1.4x speedup * tasync_misc: less iterations, 2x speedup * t8535: smaller sleep, 1.5x speedup * tmanyjoin: smaller sleep, 2x speedup * t12221: shorter sleeps, removed two slower tests; 1.6x speedup * tfuturestream: smaller sleep; 1.5x speedup * growobjcrash: less iterations; 2x speedup * ttryrecv: smaller sleep; 1.5x speedup * treusetvar: less threads; 2x speedup * delete tthreadanalysis2, basically a duplicate of tthreadanalysis * t7758: less iterations, 1.5x speedup * tasyncawait: smaller swarm, less messages; 1.5x speedup * tjsandnativeasync: smaller sleep, 1.5x speedup * tpendingcheck: smaller sleep, 1.5x speedup * remove rodfiles test category * move tseq from its own category to 'collections' category * remove unneeded tests and helpers from 'assert' category * stdlib: merge tbitops2 into tbitops * remove 'trepr2' from 'stdlib' cat * merge 'tstreams' into one file * remove 'tinefficient_const_table' from 'ccbugs' cat * merge 'tcollections_to_string' into 'tcollections' * tblocking_channel: smaller sleep, small speedup * tconvexhull: less iterartions; 1.2x speedup * merge 'tdeepcopy2' into 'tdeepcopy' * merge 'tdisjoint_slice2' into 'tdisjoint_slice1' * tmissing_deepcopy: smaller sequence * tsendtwice: smaller arrays; 5x speedup * remove 'tindexerrorformatbounds' * disable multimethod tests * remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests * koch.nim: bootstrap just with '-d:release', no need for 'csource' * add github workflow for documentation * testament: no need for 8 sub-second decimals
* Fix and reenable thread tests (#11343)Zed2019-05-282-8/+5
|
* make tests green againAraq2019-05-271-1/+1
|
* fixes #10795Andreas Rumpf2019-03-061-5/+18
|
* remove deprecated modules (#10215)Miran2019-01-073-58/+0
| | | | | | | | | | | | | | | | | | * removed from `compiler`: * lists (deprecated 2 years ago) * removed from `lib` (all deprecated 3 years ago): * ssl * matchers * httpserver * removed from `lib/deprecated`: * unsigned * actors (and three accompanying tests) * parseurl * moved to `lib/deprecated`: * securehash (the reason for not directly removing - it was deprecated (only) one year ago)
* lots of small changesArne Döring2018-12-111-1/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-112-5/+2
|
* make tests green againAraq2018-11-161-1/+1
|
* Remove install.txt and readme.txt (#9521)Utwo2018-10-281-2/+2
| | | | | | | | * Remove install.txt and readme.txt * Refactor tests that use readme.txt * Tests open own source code
* Fixes 8535 (#8591)LemonBoy2018-08-171-0/+16
| | | | | | | | | | | | | | | | | | | * Goodbye postInitProc * Give preInitProc its own scope Avoid any conflict between the variables introduced by preInitProc and initProc since both are codegen'd in the same function body. * Fix codegen for global var init in emulated TLS Fixes #8535 * Add test for #8535 * Keep a bogus stack frame around * Remove more dead code
* fixes more nil handling regressionsAraq2018-08-131-2/+2
|
* fixes channels for --gc:regionsAndreas Rumpf2018-05-251-2/+2
|
* Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-071-0/+78
|
* the parser finally parses 'echo {1,2}' as it shouldAndreas Rumpf2017-09-302-2/+2
|
* Fixes #4719. (#5585)Eugene Kabanov2017-03-232-0/+58
|
* Update testament to include all tests from tests/threads category. (#5576)Eugene Kabanov2017-03-203-0/+3
|
* removed onThreadCreation; onThreadDestruction is now thread localAraq2017-02-261-7/+4
|
* added a testcase for getThreadIdAraq2017-01-311-0/+5
|
* added test case; threadex example crashes nowAraq2017-01-301-0/+25
|
* onThreadDestruction feature added to Nim's threading modelAndreas Rumpf2017-01-241-1/+6
|
* added system.onThreadCreation feature for safe thread local storage ↵Andreas Rumpf2017-01-181-0/+22
| | | | initializations
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+1
|
* Consistently use Channel instead of TChanneldef2016-02-252-3/+3
|
* Fix a few deprecation warningsdef2016-01-255-5/+5
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-046-8/+8
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #1816Araq2015-01-021-0/+35
|
* further adaptationsAraq2014-08-293-3/+3
|
* renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamingsAraq2014-08-291-0/+0
|
* asynchttpserver compiles again; made some tests greenAraq2014-08-132-4/+4
|
* removed flawed thread analysis passAraq2014-04-202-54/+3
|
* Tester now appreciates the test target. Modified 'cmd' in specs.Dominik Picheta2014-04-164-4/+4
|
* made some tests greenAraq2014-03-271-1/+3
|
* fix #931 and few more testsZahary Karadjov2014-02-181-0/+1
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-164-0/+0
|
* added tactors2 testAraq2012-09-211-0/+25
|
* fixes #71; sorry about the polling implementationAraq2011-12-051-0/+19
|
* fixes 70Araq2011-12-041-4/+4
|
* deprecated endOfFile and readLineAraq2011-11-251-4/+4
|
* fixed bug that kept tls emulation from workingAraq2011-11-251-16/+15
|
* bugfix: 'when' sections in generic objects now work, so TThread[void] compilesAraq2011-11-201-1/+1
|
* tester: threading tests addedAraq2011-11-193-2/+59
|
* bugfix: fixed memory leaks in osproc moduleAraq2011-11-183-2/+18
|