unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile continuations
@ 2009-08-21 23:53 Linas Vepstas
  2009-08-22  3:08 ` Eric Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Linas Vepstas @ 2009-08-21 23:53 UTC (permalink / raw)
  To: Guile User

Hi,

I'm trying to find an elegant way of multi-threading between C
and scheme code, without actually using threads... Basically,
I want to do some scheme stuff for a while, break off, run some
C code for a while, then resume the scheme execution where
I left off.

I can acheive this by running in two C posix threads, and
calling scm_eval in one of the threads.

Is there a different (elegant, non-hacky) way  of doing this,
without threads?

--linas




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-22 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 23:53 Guile continuations Linas Vepstas
2009-08-22  3:08 ` Eric Cooper
2009-08-22 15:26   ` Linas Vepstas
2009-08-22 16:01     ` Eric Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).