add reference to vthread source
This commit is contained in:
parent
b7f0d17afe
commit
ccddfa07c5
|
@ -3,7 +3,8 @@
|
|||
[ludus.data :as data])
|
||||
(:import (java.util.concurrent Executors)))
|
||||
|
||||
(defn thread-factory [name]
|
||||
;; virtual thread patch from https://ales.rocks/notes-on-virtual-threads-and-clojure
|
||||
(defn- thread-factory [name]
|
||||
(-> (Thread/ofVirtual)
|
||||
(.name name 0)
|
||||
(.factory)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user