]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/thread/thread.factor
core/basis/extra: using STARTUP-HOOK: and SHUTDOWN-HOOK:
[factor.git] / basis / io / thread / thread.factor
index 8c069f440c2e6ab016ee414c0cbf731105f86d53..50a71ea04d9bc1187af8e11382bba5836f1f9651 100644 (file)
@@ -27,4 +27,4 @@ M: io-thread error-in-thread die drop rethrow ;
 : stop-io-thread ( -- )
     f io-thread-running? set-global ;
 
-[ start-io-thread ] "io.thread" add-startup-hook
+STARTUP-HOOK: start-io-thread