Function: thread-list--send-signal
thread-list--send-signal is a byte-compiled function defined in
thread.el.gz.
Signature
(thread-list--send-signal SIGNAL)
Documentation
Send the specified SIGNAL to the thread at point.
Ask for user confirmation before signaling the thread.
Source Code
;; Defined in /usr/src/emacs/lisp/thread.el.gz
(defun thread-list--send-signal (signal)
"Send the specified SIGNAL to the thread at point.
Ask for user confirmation before signaling the thread."
(let ((thread (tabulated-list-get-id)))
(if (thread-live-p thread)
(when (y-or-n-p (format "Send %s signal to %s? " signal thread))
(if (thread-live-p thread)
(thread-signal thread signal nil)
(message "This thread is no longer alive")))
(message "This thread is no longer alive"))))