[Stackless] Connecting To A Database

Andrew Francis andrewfr_ice at yahoo.com
Fri Jun 8 23:57:41 CEST 2007

Hello Cosmin:

--- Cosmin Stejerean <cstejerean at gmail.com> wrote:

> I think this has the saame drawbacks as doing this
> by hand in Stackless by moving blocking calls to
>separate threads. I think to exploit the full power
> of Stackless there ought to be an asynchronous way
> of doing this from pure Python without having to
>fallback on threads.

You should be able to use Twisted and Stackless in a
single native thread. To the best of my knowledge,
adbapi module does not use threads under the hood. 

Give me a few days to try it out....


Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list