diff options
author | Philipp Stephani <phst@google.com> | 2018-06-02 22:35:22 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2018-06-09 18:47:10 +0200 |
commit | b4dcac2d6ae376788dca11b88b874a9ecaf986df (patch) | |
tree | e6185efc4660b5192f5c6c78017768e18ac9440b /lisp/emacs-lisp/generator.el | |
parent | ca369a8ca67a4cb279a5412cca36109e719a520e (diff) | |
download | emacs-b4dcac2d6ae376788dca11b88b874a9ecaf986df.tar.gz emacs-b4dcac2d6ae376788dca11b88b874a9ecaf986df.tar.bz2 emacs-b4dcac2d6ae376788dca11b88b874a9ecaf986df.zip |
Make error checking for thread functions stricter.
* src/systhread.c (sys_thread_create): Change return type to bool.
Check for errors returned by pthread_attr_setstacksize and
pthread_attr_destroy.
(sys_mutex_init): Abort on errors. Enable mutex checks when checking
is enabled.
(sys_cond_init): Abort on errors.
(sys_mutex_lock, sys_mutex_unlock, sys_cond_wait)
(sys_cond_signal, sys_cond_broadcast, sys_cond_destroy): Check for
errors in debug mode.
Diffstat (limited to 'lisp/emacs-lisp/generator.el')
0 files changed, 0 insertions, 0 deletions