File tree 1 file changed +3
-3
lines changed
src/main/clojure/clojure/core
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
46
46
how core.async uses JDK 21+ virtual threads. The property can be one of
47
47
the following values:
48
48
49
- \" unset\" - default to ioc when aot, always
49
+ unset - default to ioc when aot, always
50
50
51
51
\" target\" - target vthreads when compiling go and require them at runtime
52
52
use vthreads in io-thread when available
@@ -154,11 +154,11 @@ the following values:
154
154
(defmacro defparkingop
155
155
[op doc arglist & body]
156
156
(let [as (mapv #(list 'quote %) arglist)
157
- delegate (-> op name (str " !" ) symbol)]
157
+ blockingop (-> op name (str " !" ) symbol)]
158
158
`(def ~(with-meta op {:arglists `(list ~as) :doc doc})
159
159
(if (dispatch/targetting-vthreads? )
160
160
(fn [~'& ~'args]
161
- ~(list* apply delegate '[args]))
161
+ ~(list* apply blockingop '[args]))
162
162
(fn ~arglist
163
163
~@body)))))
164
164
You can’t perform that action at this time.
0 commit comments