1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
emacs/test/src
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
..
regex-resources
alloc-tests.el
buffer-tests.el Add tests for buffer-base-buffer function (Bug#30905) 2018-04-11 21:16:49 -04:00
callint-tests.el Fix off-by-one history pruning (bug#31211) 2018-05-02 20:18:07 -04:00
callproc-tests.el
casefiddle-tests.el
charset-tests.el
chartab-tests.el
cmds-tests.el
coding-tests.el
data-tests.el Fix bug#30846, along with misc cleanups found along the way 2018-06-03 12:48:14 -04:00
decompress-tests.el
doc-tests.el
editfns-tests.el (format "%d" F) now truncates floating F 2018-06-25 12:23:08 -07:00
emacs-module-tests.el * lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206) 2018-04-28 23:20:33 +03:00
eval-tests.el Give warning if losing value to defvaralias (Bug#5950) 2018-06-12 07:40:33 -04:00
fileio-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
floatfns-tests.el
fns-tests.el Fix bug with eql etc. on NaNs 2018-07-18 03:18:53 -07:00
font-tests.el
inotify-tests.el
json-tests.el Skip a json.c test unless functions being tested exist 2018-06-19 03:02:09 +01:00
keyboard-tests.el Update copyright year to 2018 2018-01-01 01:25:56 -08:00
keymap-tests.el
lcms-tests.el
lread-tests.el Fix failed assertion when load-force-doc-strings 2018-05-22 12:42:16 -07:00
marker-tests.el
minibuf-tests.el
print-tests.el Honor print-charset-text-property value of nil (Bug#31376) 2018-05-23 07:53:58 -04:00
process-tests.el Don’t assume ordering in make-process/mix-stderr 2018-05-21 12:31:54 -07:00
regex-tests.el Raise limit of regexp repetition (Bug#24914) 2018-01-26 20:49:44 -05:00
syntax-tests.el
textprop-tests.el
thread-tests.el thread-join returns the result of finished thread 2018-07-22 11:53:24 +02:00
undo-tests.el
xml-tests.el