Re: What's the cost of using hundreds of threads?

2005-03-02 Thread Przemysław Różycki
> In article <[EMAIL PROTECTED]>, > Przemysław Różycki <[EMAIL PROTECTED]> wrote: > >> Thanks for your comments on winXP threads implementation. You confirmed me in conviction that I shouldn't use windows. >> Personally I use linux with 2.6.10 kernel, so

Re: What's the cost of using hundreds of threads?

2005-03-02 Thread Przemysław Różycki
Thanks for your comments on winXP threads implementation. You confirmed me in conviction that I shouldn't use windows. Personally I use linux with 2.6.10 kernel, so hopefully I don't have to share your grief. ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: What's the cost of using hundreds of threads?

2005-03-02 Thread Przemysław Różycki
I'm a bit confused by your math. Fifty connections should be 102 threads, which is quite reasonable. My formula applies to one forwarded ('loadbalanced') connection. Every such connection creates further n connections (pipes) which share the load. Every pipe requires two threads to be spawned. E

What's the cost of using hundreds of threads?

2005-03-01 Thread Przemysław Różycki
Hello, I have written some code, which creates many threads for each connection ('main connection'). The purpose of this code is to balance the load between several connections ('pipes'). The number of spawned threads depends on how many pipes I create (= 2*n+2, where n is the number of pipes).

Pyallegro status (is it dead?). What about pygame.

2005-02-27 Thread Przemysław Różycki
Hi. Has anyone used pyallegro? - I want to give allegro library a chance - but it seems that python bindings for this library are not maintained anymore. How does pygame compare to pyallegro - both in maturity and convenience of usage in python? -- http://mail.python.org/mailman/listinfo/python-