chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] simple threading


From: felix winkelmann
Subject: Re: [Chicken-users] simple threading
Date: Sat, 17 Jun 2006 23:35:46 +0200

On 6/17/06, Joerg F. Wittenberger <address@hidden> wrote:
Hi Felix,

I've been contemplating...could chicken include some basic support for
native thread communication?

rscheme has these C functions

void rscheme_intr_call0( obj thunk );
void rscheme_intr_call1( obj proc, obj arg );
void rscheme_intr_call2( obj proc, obj arg1, obj arg2 );

which basically enqueue a "virtual" signal, which is then processed
similar to system level signals.

BTW: I feel that it might be safer/easier and just enough to provide
only the first (thunk) version.


Not a bad idea... What should this do in particular?


cheers,
felix




reply via email to

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