[Stackless] multiprocessing module and stackless threads

Richard Tew richard.m.tew at gmail.com
Thu Jan 2 08:53:02 CET 2014


Ah, that's interesting.  It looks like we need to make channels work
interprocess.

Cheers,
Richard.

On 1/2/14, Nike <stackless.nst at internike.com> wrote:
> If it can be of any interest to you, a while ago I had assembled a small
> POC to have cross-process-channels :
> http://internike.com/mp_stackless.html
>
> Nike
>
>
> On 01/01/2014 08:42 PM, Robert Babiak wrote:
>> I have a question.
>>
>> Is it possible to use the multi processing module and stackless together?
>>
>> What i would like to do is have my application start a second process
>> to handle the web server side of things, and the main thread control
>> the main display.
>>
>> Can the two communicate via channels, or is the separate process
>> completely independant?
>>
>> If I don't use the multiprocessing and just use the threading module
>> to make a dedicated web server thread. Would it be better to run two
>> stackless schedulers and have the one only run a single tasklet
>> running the web server request loop?
>>
>> FYI: I am using DJANGO for the web server support, and the main
>> display is a Open GL display. The main interaction to the display will
>> be by web requests, but only some web calls will interact with the GL
>> display.
>>
>> Suggestions and wisdom welcome.
>>
>> - robert
>> --
>> Life: Bah, I will worry about it when it is over.
>>
>>
>> _______________________________________________
>> Stackless mailing list
>> Stackless at stackless.com
>> http://www.stackless.com/mailman/listinfo/stackless
>
>



More information about the Stackless mailing list