Thank you for the response as well as the files.
Unfortunately my 'C' knowledge is too limited to comprehend all those foreign lambdas mentioned in the files. Hence I will Not able to make use of them.
Thanks anyway.
On Tue, Dec 28, 2010 at 5:39 AM, Jörg F. Wittenberger
<address@hidden> wrote:
Am Montag, den 27.12.2010, 19:13 -0500 schrieb Joe Python:
>
>
> Python has a Parallel version of 'map' where we can offload work to
> os level processes (worker pool) and get the results
>
Find attached two files.
pthreads.scm: a pthread pool where you can offload work to.
sqlite3.scm: uses the pthread module.
sqlite3.scm is actually a showcase too: pthreads running sqlite3 can
call back to chicken (I'm using the vfs interface). (Which in turn is
used by ball.askemos.org to implement byzantine replication of the
SQLite interpreter).
Hope this helps
/Jörg