1.2.0 permalink Arrow_down_16x16

kill-nth-thread

swank.commands.basic

  • (kill-nth-thread index)

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/commands/basic.clj:526 top

(defslimefn kill-nth-thread [index]
  (when index
    (when-let [thread (nth @thread-list index nil)]
      (println "Thread: " thread)
      (.stop thread))))
Vars in swank.commands.basic/kill-nth-thread: println when when-let
Used in 0 other vars

Comments top

No comments for kill-nth-thread. Log in to add a comment.