From 9a792617d5080af1650b0c19f99039c1e6f715eb Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 2 Jul 2019 13:12:37 -0400 Subject: [PATCH] Fixup docs for TP release --- docs/api/cyclone/concurrent.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/api/cyclone/concurrent.md b/docs/api/cyclone/concurrent.md index c06bc2a4..6177b648 100644 --- a/docs/api/cyclone/concurrent.md +++ b/docs/api/cyclone/concurrent.md @@ -327,10 +327,8 @@ Add a new task to the given thread pool `tp`. ### thread-pool-release! - (thread-pool-release! tp [how]) + (thread-pool-release! tp) -Call this if the thread pool `tp` will no longer be used. All thread pool threads are stopped and cleaned up by the system. - -Note that if `how` is passed `'terminate` the threads will be stopped immediately using `thread-terminate!`. This is a potentially unsafe operation. Otherwise the threads will be stopped in a safe manner. +Call this if the thread pool `tp` will no longer be used. Stops and cleans up all thread pool threads.