[plt-scheme] dynamic-wind & kill-thread

From: YC (yinso.chen at gmail.com)
Date: Sat Apr 25 23:25:55 EDT 2009

On Wed, Apr 22, 2009 at 10:11 AM, Ryan Culpepper <ryanc at ccs.neu.edu> wrote:

>
> It's a cleanup of spgsql and a new pure-Scheme implementation of the mysql
> protocol. It's mostly operational, if you (or anyone else) would like to try
> it out or contribute.
>
> The kill-safe proxy I had in mind, though, wouldn't require working with my
> classes and mixins at all. You could just write a new class of your own that
> forwards its operations to an spgsql connection in another thread. You don't
> even need to implement the entire query interface, to start with, just the
> parts your code depends on.
>
>
Attached is a class-based proxy that works with spgsql 2.3.  It's written in
PLT v4 so won't work with v3.  I compared against the spgsql doc so most of
the query interface should be implemented.

Let me know if there are any questions or comments, thanks.
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090425/8a21b1ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy.ss
Type: application/octet-stream
Size: 9479 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20090425/8a21b1ae/attachment.obj>

Posted on the users mailing list.