This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Using Guile with threads
- To: satchell at merry dot dra dot hmg dot gb
- Subject: Re: Using Guile with threads
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 01 Nov 1999 15:19:17 +0100
- Cc: GUILE at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <009E07F9.B4BBAFA4.1@merry.dera.gov.uk>
satchell@merry.dera.gov.uk writes:
> instead you have to make sure that all your GL library
> code gets back to some kind of event loop reasonably often.
If you call SCM_TICK in lengthy C loops and use scm_internal_select
for I/O, Guile's own threads will work excellently.
(There are primitives in the scm interface to start Guile threads from
the C level.)