* null-threads.h, pthread-threads.h
authorMarius Vollmer <mvo@zagadka.de>
Sun, 23 Oct 2005 20:47:49 +0000 (20:47 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sun, 23 Oct 2005 20:47:49 +0000 (20:47 +0000)
commitd1138028c9d19fdca5c8e3cebaebd999abafd675
tree76ce6966b7dba373c45c5af7f69576cf2fb0d5c8
parent777f2ed60a04d67d8a966ecb95a809d696a1307b
* null-threads.h, pthread-threads.h
(SCM_I_PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Removed.
(scm_i_pthread_mutexattr_recursive): New.

* threads.c (scm_i_pthread_mutexattr_recursive): Declare.
(scm_i_critical_section_mutex): Do not initialize statically.
(scm_threads_prehistory): Initialize
scm_i_pthread_mutexattr_recursive and scm_i_critical_section_mutex
here.

* eval.c (source_mutex): Do not initialiaze statically.
(scm_init_eval): Do it here, using
scm_i_pthread_mutexattr_recursive.
libguile/eval.c
libguile/null-threads.h
libguile/pthread-threads.h
libguile/threads.c