[py-dev] execnet hangs
Armin Rigo
arigo at tunes.org
Thu Apr 7 20:33:28 CEST 2005
Hi,
On Thu, Apr 07, 2005 at 12:32:41PM +0100, Armin Rigo wrote:
> I'm having a hard time debugging the following example, which just hangs on
> the very last receive(). On the remote site, the CHANNEL_DATA message from
> the last send() shows up in the debug log, but it doesn't get passed to my
> 'for' loop...
I had forgotten that gateways only create two threads to execute the code
snippets to pass around. This bites me in this kind of case, where I want
more than two loops waiting on the server (but still not a large number of
them, overwise a single-loop channel-based approach would be preferred).
Armin
More information about the Pytest-dev
mailing list