Hi all
I modified my code as
reactor.callFromThread(reactor.callLater, self.wait, reactor.callInThread,
self.Execute)
based on your comments.
now the problem have been solved. Thanks your guys. I appreciate your help.
Regards
gelin yan
On Mon, May 16, 2011 at 12:29 AM, wrote:
> On 04:10 pm,
Hi all
I just encountered a problem about iocp reactor & callInThread. I
paste the code following:
from twisted.internet import iocpreactor
iocpreactor.install()
from twisted.internet import reactor
class ThreadTest:
def __init__(self,name):
self.count = 0
self.max = 5
Hi Ivh
I just finished the reading of deterToThread Part. I think it is what i
need. Thank you anyway..
Regards
gelin yan
On Sat, May 7, 2011 at 5:49 PM, Laurens Van Houtven <_...@lvh.cc> wrote:
> Why is it invoked in a multithread environment? You can use deferToThread,
> which gives you a
Hi all
I have a function like:
def longQuery(xxx)
this function will be invoked simultaneously (it means multiple thread
environment) and this function may take a while to complete.
so my question is whether i should use reactor.callInThread to take benefit
from non blocking
or use deferred
thanks Glyph for bringing us a practical lib for async handling.. in
particular it works greatly on windows which many persons considered a
second level citizen...
On Fri, May 6, 2011 at 2:11 AM, Glyph Lefkowitz wrote:
> On May 3, 2011, at 5:46 PM, Kevin Horn wrote:
>
> On Tue, May 3, 2011 at 4:1
-- Forwarded message --
From: Dfgqq Dfgqq
Date: Wed, Apr 27, 2011 at 11:11 PM
Subject: Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)?
To: Twisted general discussion
Hi glyph
Thanks for your replying.. I didn't say it was a bug because it probably
caus
version of twisted is working
fine. I really like it.
Regards
GELIN YAN
On Wed, Apr 27, 2011 at 4:48 PM, Glyph Lefkowitz wrote:
>
> On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:
>
> > Hi All
> >
> > Currently, i am planning rewrite some parts with twisted &am
Hi All
Currently, i am planning rewrite some parts with twisted & iocp. These
parts are related
to Tcp connection without SSL. I want to know whether IOCP is ready for
production or not.
I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many
problems. I haven't give a