Re: Nonblocking excute()
> Anybody know the way to implement nonblocking
> execute() or callproc() at mysqldb?
In short, the calling thread will always block. It's just how the MySQL protocol
works. It's a synchronous API and you can't just say to be notified when the
results are ready, not from the calling thread at least.
That said, you can always use multiple threads or Twisted (www.twistedmatrix.com)
deferreds to implement a non-blocking application.
--
Dariusz Suchojad
gefira / the knowledge company
http://www.gefira.pl
Subject
Written By
Posted
Re: Nonblocking excute()
May 01, 2009 04:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.