* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice. */
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
- gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
\f
threads.h
coop-defs.h
iselect.h
- mit-pthreads.c
coop-threads.c
coop-threads.h
coop-defs.h*
* second #inclusion
*/
-#include <stdio.h>
#include "libguile/_scm.h"
#include "libguile/dynwind.h"
#include "libguile/smob.h"
\f
-long scm_tc16_thread;
-
-long scm_tc16_mutex;
-
-long scm_tc16_condvar;
+scm_t_bits scm_tc16_thread;
+scm_t_bits scm_tc16_mutex;
+scm_t_bits scm_tc16_condvar;
\f
/* Scheme-visible thread functions. */
\f
-#ifdef USE_MIT_PTHREADS
-#include "mit-pthreads.c"
-#endif
-
#ifdef USE_COOP_THREADS
#include "libguile/coop-threads.c"
#endif
scm_tc16_mutex = scm_make_smob_type ("mutex", sizeof (coop_m));
scm_tc16_condvar = scm_make_smob_type ("condition-variable", sizeof (coop_c));
+#ifndef SCM_MAGIC_SNARFER
#include "libguile/threads.x"
+#endif
/* Initialize implementation specific details of the threads support */
scm_threads_init (i);
}