File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/clojure/clojure/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ IOC and vthread code.
164164 [^long msecs]
165165 (timers/timeout msecs))
166166
167- (defn- defparkingop-helper [op doc arglist body]
167+ (defn- defparkingop* [op doc arglist body]
168168 (let [as (mapv #(list 'quote %) arglist)
169169 blockingop (-> op name (str " !" ) symbol)]
170170 `(def ~(with-meta op {:arglists `(list ~as) :doc doc})
@@ -176,7 +176,7 @@ IOC and vthread code.
176176 " Emits a Var definition that initializes as a parking op or as a
177177 blocking op when vthreads available and allowed."
178178 [op doc arglist & body]
179- (defparkingop-helper op doc arglist body ))
179+ (defparkingop* op doc arglist body ))
180180
181181(defmacro defblockingop
182182 [op doc arglist & body]
@@ -540,7 +540,7 @@ IOC and vthread code.
540540 (throw res)
541541 res)))))
542542
543- (defn- go-vthreads-helper [body env]
543+ (defn- go* [body env]
544544 (cond (not dispatch/target-vthreads?)
545545 (do (require-in-new-binding-context 'clojure.core.async.impl.go)
546546 ((find-var 'clojure.core.async.impl.go/go-impl) env body))
@@ -568,7 +568,7 @@ IOC and vthread code.
568568 Returns a channel which will receive the result of the body when
569569 completed"
570570 [& body]
571- (go-vthreads-helper body &env))
571+ (go* body &env))
572572
573573(defonce ^:private thread-macro-executor nil )
574574
You can’t perform that action at this time.
0 commit comments