This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Threads in Guile
- To: NIIBE Yutaka <gniibe at chroot dot org>, Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: Threads in Guile
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Wed, 31 May 2000 23:34:54 +0200 (MEST)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
Hello!
I have already started to figure out how to extract the coop thread
support from guile. I am not sure about the preferred overall design,
though, so I will describe you what I have done so far (nothing of this is
in cvs yet):
1) threads.[ch] has no link to the coop/quick threads code any more.
2) the code from coop-defs.h, coop-threads.[ch] and coop.c is merged into
the files guile-qthreads.[ch]. This is the glue code between the
generic threads interface and the qthreads library.
Nowhere in guile there is a reference to the things in guile-qthreads
any more with one exception: iselect.[ch] And, the stuff in there is
heavily connected with the implementation of the coop
threads. Unfortunately, I don't really understand what is going on
there. I am about to dig myself through it, but I would be thankful if I
could get information from you to make that digging easier. Maybe
there has been some discussion about how that stuff could be implemented
in a more generic way? I will not look into it before friday, then I will
appreciate any enlightening mails :-)
Best regards
Dirk