From 30e2af969cb2373b01ec585979db73577a613f93 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Mon, 17 Jul 2017 14:45:54 +0300 Subject: [PATCH] Revert "GC_fullCollect on sync threadpool (#6107)" (#6119) This reverts commit bdb653c4156af099814df2e21b9878cdb1591190. --- lib/pure/concurrency/threadpool.nim | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim index 9e19e47b57..cf4f585883 100644 --- a/lib/pure/concurrency/threadpool.nim +++ b/lib/pure/concurrency/threadpool.nim @@ -526,12 +526,10 @@ proc nimSpawn4(fn: WorkerProc; data: pointer; id: ThreadId) {.compilerProc.} = if selectWorker(addr(distinguishedData[id]), fn, data): break await(distinguishedData[id].readyForTask) -template spawnInAllThreads(e: untyped) = - ## Spawn `e` on all of the threadpool threads. - for i in 0 ..