Commit Graph

46 Commits

Author SHA1 Message Date
Andreas Rumpf
8a2f481f99 make threadpool care about minPoolSize 2017-10-12 12:45:18 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Yuriy Glukhov
30e2af969c Revert "GC_fullCollect on sync threadpool (#6107)" (#6119)
This reverts commit bdb653c415.
2017-07-17 13:45:54 +02:00
Yuriy Glukhov
bdb653c415 GC_fullCollect on sync threadpool (#6107) 2017-07-17 08:09:21 +02:00
Yuriy Glukhov
8bdcade1a0 Fixes #6090 (#6092) 2017-07-14 08:15:37 +02:00
Tomas Vojtisek
27a291c09e Update threadpool.nim (#5624) 2017-03-29 08:36:10 +02:00
Dmitry Polienko
885543e43e Add a lock to prevent race condition 2016-08-24 22:01:37 +07:00
Dmitry Polienko
2edd3786ce Add a workaround for threadpool deadlocks on recursion 2016-08-11 03:11:57 -07:00
Yuriy Glukhov
9cdb4ee1cb Fixed semaphore on iOS. 2016-03-05 14:20:09 +02:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
Dominik Picheta
dda41afe9e Implement isReady procedure in threadpool module. 2015-10-12 23:05:41 +01:00
Araq
d7996a9ede attempt to support recursions for spawn 2015-09-06 02:40:26 +02:00
Araq
646af76c87 implemented nimPinToCpu threadpool feature 2015-08-24 18:01:41 +02:00
Araq
28de800d61 Merge branch 'more_concurrency' into devel
Conflicts:
	doc/tut1.txt
	lib/core/locks.nim
	lib/pure/collections/tables.nim
	lib/pure/selectors.nim
2015-06-30 12:50:24 +02:00
Spencer Stirling
891d953a4c disabled threadpool assertion only for vcc 2015-06-10 07:23:07 -06:00
Spencer Stirling
d152ccc1e2 fixed threadpool and atomics to work with Visual Studio 32 and 64 bit 2015-06-09 11:59:26 -06:00
pdw
192ba3bbc0 lib/pure/a-c - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
Araq
79c92603f5 FlowVar's ^ for refs is safe and convenient to use 2015-06-02 16:32:53 +02:00
Araq
3312d49a48 proper waiting for the pinned thread 2015-06-02 16:21:55 +02:00
Araq
94f54700c4 first implementation of pinnedSpawn 2015-05-28 12:42:04 +02:00
Michael Werner
c384f05e49 fixed typo in threadpool.nim 2015-05-08 03:31:58 +05:00
Araq
7023fdddff todo update 2015-03-27 01:30:07 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
795a7762cc minor improvement to the barrier implementation 2014-12-09 01:03:56 +01:00
Araq
81353b2dbc renamed CondVar to Semaphore 2014-11-10 07:57:19 +01:00
Araq
943d4ee714 fixed the deadlock that happens when stress testing ToFreeQueue 2014-11-08 11:18:25 +01:00
Araq
06e9932e8a fixes exhaustion bug and missing GC_ref code generation 2014-11-07 01:54:47 +01:00
Araq
b5586264a0 broken attempt to fix queue exhaustion 2014-11-07 00:27:31 +01:00
Araq
3354f7e098 fixes a race condition that caused '^' to hang 2014-10-05 11:43:48 +02:00
Araq
1a3b730bf5 made tests green 2014-09-22 01:25:13 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
abf511245a nice error message 2014-08-08 09:54:43 +02:00
Araq
68accb53c4 setMaxPoolSize improvements 2014-08-08 02:25:07 +02:00
Araq
947b152163 some changes 2014-06-09 08:03:54 +02:00
Araq
59c18eb743 big rename: Promise -> FlowVar 2014-06-06 07:56:47 +02:00
Araq
b7cbb08f99 added 'fence' instructions to the barrier 2014-06-06 02:05:17 +02:00
Araq
2de99653d0 Promises are now refs 2014-06-05 08:46:29 +02:00
Araq
a4323b06b3 barrier more efficient 2014-06-03 08:25:42 +02:00
Araq
fbadbb399e hopefully faster barrier implementation 2014-06-02 19:03:01 +02:00
Araq
b78173788d bugfix: codegen for promises 2014-06-02 09:13:16 +02:00
Araq
030eac86c0 bugfix: regionized pointers in a generic context; renamed 'Future' to 'Promise' 2014-05-25 15:19:46 +02:00
Araq
d2dbcf2fa4 progress with futures 2014-05-23 08:57:16 +02:00
Araq
417b9f5a1d 'parallel' statement almost working 2014-05-22 08:41:50 +02:00
Araq
c43e8df90c progress for the 'parallel' statement 2014-05-14 01:51:44 +02:00
Araq
6195dbe491 initial non-compiling version of 'parallel' 2014-05-12 11:12:37 +02:00