Skip to content

Commit dd86e6e

Browse files
committed
helper -> *
1 parent a047476 commit dd86e6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/clojure/clojure/core/async.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)