Re: Guile continuations

2009-08-22 Thread Eric Cooper
On Sat, Aug 22, 2009 at 10:26:40AM -0500, Linas Vepstas wrote: > The wikipedia article on coroutines doesn't even link to a scheme > version; the Wikipedia article on continuations could almost surely > benefit from a cut-n-paste of your email. > > In fact, I'm planning on cut-n-pasting that into

Re: Guile continuations

2009-08-22 Thread Linas Vepstas
2009/8/21 Eric Cooper : > On Fri, Aug 21, 2009 at 06:53:29PM -0500, Linas Vepstas wrote: >> 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 fo

Re: Guile continuations

2009-08-21 Thread Eric Cooper
On Fri, Aug 21, 2009 at 06:53:29PM -0500, Linas Vepstas wrote: > 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 sch

Guile continuations

2009-08-21 Thread Linas Vepstas
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