guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guile continuations


From: Linas Vepstas
Subject: Guile continuations
Date: Fri, 21 Aug 2009 18:53:29 -0500

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]