summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-01-18 18:00:16 +0200
committerEli Zaretskii <eliz@gnu.org>2017-01-18 18:00:16 +0200
commit571532605bc0db221c76e36067435e4355e0d1a1 (patch)
tree5a8120468d552a682c5bbfc1ec9f83c80d364b11 /lisp/emacs-lisp/cursor-sensor.el
parentdbb29d7eb428dd53617d31a9cc159d889deb1e8e (diff)
downloademacs-571532605bc0db221c76e36067435e4355e0d1a1.tar.gz
emacs-571532605bc0db221c76e36067435e4355e0d1a1.tar.bz2
emacs-571532605bc0db221c76e36067435e4355e0d1a1.zip
Rudimentary error handling for non-main threads
* src/thread.c (last_thread_error): New static variable. (syms_of_threads): Staticpro it. (record_thread_error, Fthread_last_error): New functions. (syms_of_threads): Defsubr Fthread_last_error. * doc/lispref/threads.texi (Basic Thread Functions): Document thread-last-error. * test/src/thread-tests.el (thread-errors, thread-signal-early) (threads-condvar-wait): Test the values returned by thread-last-error.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions