emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make error checking for thread functions stricter.


From: Philipp Stephani
Subject: Re: [PATCH] Make error checking for thread functions stricter.
Date: Sat, 9 Jun 2018 18:48:58 +0200



Philipp Stephani <address@hidden> schrieb am Sa., 2. Juni 2018 um 22:42 Uhr:
* 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, 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.

Pushed to master as b4dcac2d6a.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]