File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
src/main/clojure/clojure/core Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ return nil for unexpected contexts."
354354 (deref p))))
355355
356356(defn alts!
357- " Completes at most one of several channel operations. Must be called
357+ " Completes at most one of several channel operations. Must be called
358358 inside a (go ...) block. ports is a vector of channel endpoints,
359359 which can be either a channel to take from or a vector of
360360 [channel-to-put-to val-to-put], in any combination. Takes will be
Original file line number Diff line number Diff line change 7979 (catch ClassNotFoundException _
8080 false )))
8181
82- (def ^:private virtual-thread?
83- (if virtual-threads-available?
84- (eval `(fn [^Thread t#] (~'.isVirtual t#)))
85- (constantly false )))
86-
87- (defn in-vthread? []
88- (and virtual-threads-available?
89- (virtual-thread? (Thread/currentThread ))))
90-
9182(defn- make-io-executor
9283 []
9384 (if virtual-threads-available?
You can’t perform that action at this time.
0 commit comments