You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/manifold/executor.clj
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,8 @@
37
37
38
38
It represents the default implementation on `thread-factory` when the
39
39
`new-thread-fn` argument is no passed."
40
-
([group target name]
41
-
(Thread. group target name))
42
-
([group target name stack-size]
43
-
(Thread. group target name stack-size)))
40
+
[group target name stack-size]
41
+
(Thread. group target name stack-size))
44
42
45
43
(defn ^ThreadFactory thread-factory
46
44
"Returns a `java.util.concurrent.ThreadFactory`.
@@ -50,7 +48,7 @@
50
48
| `executor-promise` | a promise eventually containing a `java.util.concurrent.Executor` that will be stored on `manifold.executor/executor-thread-local`. |
51
49
| `stack-size` | the desired stack size for the new thread, or nil/zero to indicate that this parameter is to be ignored. |
52
50
| `daemon?` | marks the created threads as either daemon or user threads. The Java Virtual Machine exits when the only threads running are all daemon threads. |
53
-
| `new-thread-fn` | a three/four arguments function which returns an implementation of `java.lang.Thread` when called. |"
51
+
| `new-thread-fn` | a four arguments function which returns an implementation of `java.lang.Thread` when called. |"
0 commit comments