1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 05:52:32 -08:00
emacs/doc
Michael Albinus e23727978d thread-join returns the result of finished thread
* doc/lispref/threads.texi (Basic Thread Functions):
* etc/NEWS: Document return value of `thread-join'.

* src/thread.c (invoke_thread_function, Fmake_thread)
(init_main_thread): Set result.
(Fthread_join): Propagate signals, and return result.
(Vmain_thread): New defvar.

* src/thread.h (struct thread_state): Add `result' field.

* test/src/thread-tests.el (threads-join): Test also return value.
(threads-join-error): New test.
(threads-mutex-signal): Check for propagation of `quit' signal.
2018-07-22 11:53:24 +02:00
..
emacs Minor rewording of last change 2018-07-21 19:11:32 +03:00
lispintro Merge from origin/emacs-26 2018-07-02 19:19:26 -07:00
lispref thread-join returns the result of finished thread 2018-07-22 11:53:24 +02:00
man Merge from origin/emacs-26 2018-05-15 09:09:48 -07:00
misc * lisp/comint.el: Clean up namespace 2018-07-18 10:23:20 -04:00