spawn-worker-thread

swank.core

  • (spawn-worker-thread conn)
Spawn an thread that blocks for a single command from the control
thread, executes it, then terminates.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/core.clj:292 top

(defn spawn-worker-thread
  "Spawn an thread that blocks for a single command from the control
   thread, executes it, then terminates."
  ([conn]
     (dothread-swank
       (try
        (add-active-thread (current-thread))
        (thread-set-name "Swank Worker Thread")
        (eval-from-control)
        (finally
         (remove-active-thread (current-thread)))))))
Vars in swank.core/spawn-worker-thread: defn
Used in 0 other vars

Comments top

No comments for spawn-worker-thread. Log in to add a comment.