This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile and multi-threading


"Lars J. Aas" <larsa@sim.no> writes:

> OK, so if I understand correctly, these threads aren't kernel-threads; they
> will be just one thread as far as the C-space is concerned...

Correct.

And I forgot to say that since they are cooperative, you need to
execute the statement SCM_TICK intermittently from any long loops
without I/O in your C code.

I use Guile's C-level threads as event handlers for graphics windows
in my neuron simulator.  It works splendidly.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]