File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/clojure/clojure/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Use the Java system property `clojure.core.async.vthreads` to control
4646how core.async uses JDK 21+ virtual threads. The property can be one of
4747the following values:
4848
49- \" unset\" - default to ioc when aot, always
49+ unset - default to ioc when aot, always
5050
5151\" target\" - target vthreads when compiling go and require them at runtime
5252 use vthreads in io-thread when available
@@ -154,11 +154,11 @@ the following values:
154154(defmacro defparkingop
155155 [op doc arglist & body]
156156 (let [as (mapv #(list 'quote %) arglist)
157- delegate (-> op name (str " !" ) symbol)]
157+ blockingop (-> op name (str " !" ) symbol)]
158158 `(def ~(with-meta op {:arglists `(list ~as) :doc doc})
159159 (if (dispatch/targetting-vthreads? )
160160 (fn [~'& ~'args]
161- ~(list* apply delegate '[args]))
161+ ~(list* apply blockingop '[args]))
162162 (fn ~arglist
163163 ~@body)))))
164164
You can’t perform that action at this time.
0 commit comments