Re: [Twisted-Python] twisted thread pool

2015-03-02 Thread Al Niessner
I am new to twisted so the start up is really those two lines, but I can work at a minimal reproducers. May take a day or two. I read through the bug report a bit and there seems to be some funny stuff with the deferToThread and a possible race condition, Did I read that correctly? The other prob

Re: [Twisted-Python] twisted thread pool

2015-03-02 Thread Glyph Lefkowitz
> On Mar 2, 2015, at 10:36 AM, Al Niessner wrote: > > > Platform: > CPU: Intel (2x with 8 core each then hyper-threading gets us to 32 virtual) > Ubuntu 14.04 > Python 3.4 (yes, I know) > Twisted 13.2.0 > > I use the vanilla twisted.internet.reactor.run() with the factory > twisted.web.server.

Re: [Twisted-Python] 回复: 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread Glyph Lefkowitz
> On Mar 2, 2015, at 4:55 AM, 8 <421174...@qq.com> wrote: > > maybe you are right. > but cygwin is a linux environment on windows. No, it is not. It is a "unix-like" environment on Windows. When Jean-Paul says that epoll is a "linux" feature, he does not mean that it is available on "linux-lik

[Twisted-Python] twisted thread pool

2015-03-02 Thread Al Niessner
Platform: CPU: Intel (2x with 8 core each then hyper-threading gets us to 32 virtual) Ubuntu 14.04 Python 3.4 (yes, I know) Twisted 13.2.0 I use the vanilla twisted.internet.reactor.run() with the factory twisted.web.server.Site(root). It all runs just fine (seemingly) but,when I was snooping arou

[Twisted-Python] 回复: 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread 8
maybe you are right. but cygwin is a linux environment on windows. thanks -- 原始邮件 -- 发件人: "exarkun";; 发送时间: 2015年3月2日(星期一) 晚上8:46 收件人: "Twisted general discussion"; 主题: Re: [Twisted-Python]回复: exceptions.ImportError: cannot import name_epoll On 11:44 am, 4211

Re: [Twisted-Python] 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread exarkun
On 11:44 am, 421174...@qq.com wrote: I use cygwin in Windows Vista. ‍ I install twisted using tool setup-x86.exe which is suggested by cygwin.‍ epoll is a Linux-only feature. twisted.internet.epollreactor is only usable on Linux. You should probably remove the explicit reactor selection fr

[Twisted-Python] 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread 8
I use cygwin in Windows Vista. ‍ I install twisted using tool setup-x86.exe which is suggested by cygwin.‍ Thanks. -- 原始邮件 -- 发件人: "exarkun";; 发送时间: 2015年3月2日(星期一) 晚上7:29 收件人: "Twisted general discussion"; 主题: Re: [Twisted-Python] exceptions.ImportError: cannot

Re: [Twisted-Python] exceptions.ImportError: cannot import name _epoll

2015-03-02 Thread exarkun
On 08:04 am, 421174...@qq.com wrote: My dear friends, would u please give your hand kindly? How did you install Twisted and what operating system are you using? Jean-Paul the twisted version is 12.3.0.‍ the detail error is as below: Unhandled Error Traceback (most recent call last): File "

[Twisted-Python] exceptions.ImportError: cannot import name _epoll

2015-03-02 Thread 8
My dear friends, would u please give your hand kindly? the twisted version is 12.3.0.‍ the detail error is as below: Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/twisted/application/app.py", line 652, in run runApp(config) File "/usr/lib/pyth