> -----Original Message-----
> From: Doug Hellmann [mailto:[email protected]]
> Sent: Monday, May 15, 2017 2:55 PM
<...>
> 
> Excerpts from Legacy, Allain's message of 2017-05-15 18:35:58 +0000:
> > import eventlet
> > eventlet.monkey_patch
> 
> That's not calling monkey_patch -- there are no '()'. Is that a typo?

Yes, sorry, that was a typo when I put it in to the email.  It did have () 
at the end.

> 
> lock() claims to work differently when monkey_patch() has been called.
> Without doing the monkey patching, I would expect the thread to have to
> explicitly yield control.
> 
> Did you see the problem you describe in production code, or just in this
> sample program?

We see this in production code.   I included the example to boil this down to 
a simple enough scenario to be understood in this forum without the 
distraction of superfluous code. 


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to