mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Reverted recent change to scm_mutex_init: now backward compatible
again.
This commit is contained in:
parent
f3b5e18566
commit
b74b1a6387
3 changed files with 2 additions and 3 deletions
|
@ -517,7 +517,7 @@ scm_init_readline ()
|
|||
rl_readline_name = "Guile";
|
||||
|
||||
#ifdef USE_THREADS
|
||||
scm_mutex_init (&reentry_barrier_mutex, NULL);
|
||||
scm_mutex_init (&reentry_barrier_mutex);
|
||||
#endif
|
||||
scm_init_opts (scm_readline_options,
|
||||
scm_readline_opts,
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
coop_mutex_trylock.
|
||||
(scm_cond_init): Changed definition to
|
||||
coop_new_condition_variable_init.
|
||||
(scm_mutex_init): Changed definition to coop_new_mutex_init.
|
||||
|
||||
* coop.c: #include <errno.h>
|
||||
(coop_timeout_qinsert): Moved here from iselect.c
|
||||
|
|
|
@ -153,7 +153,7 @@ extern int coop_mutex_lock (coop_m*);
|
|||
extern int coop_mutex_trylock (coop_m*);
|
||||
extern int coop_mutex_unlock (coop_m*);
|
||||
extern int coop_mutex_destroy (coop_m*);
|
||||
#define scm_mutex_init coop_new_mutex_init
|
||||
#define scm_mutex_init coop_mutex_init
|
||||
#define scm_mutex_lock coop_mutex_lock
|
||||
#define scm_mutex_trylock coop_mutex_lock
|
||||
#define scm_mutex_unlock coop_mutex_unlock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue