[Top][All Lists]

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

Re: [Chicken-users] Wish: Parallel Map

From: Joe Python
Subject: Re: [Chicken-users] Wish: Parallel Map
Date: Tue, 28 Dec 2010 19:47:59 -0500


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.

- Joe

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 to implement byzantine replication of the
SQLite interpreter).

Hope this helps


reply via email to

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