2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00
Files
openvswitch/python/ovs
Terry Wilson d28c5ca576 python: Add cooperative_yield() API method to Idl.
When using eventlet monkey_patch()'d code, greenthreads can be
blocked on connection for several seconds while the database
contents are parsed. Eventlet recommends adding a sleep(0) call
to cooperatively yield in cpu-bound code. asyncio code has
asyncio.sleep(0). This patch adds an API  method that defaults to
doing nothing, but can be overridden to yield as needed.

Signed-off-by: Terry Wilson <twilson@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
2021-07-16 14:08:19 +02:00
..
2019-12-20 12:23:06 -08:00
2017-03-08 21:11:48 -08:00
2019-12-20 12:23:06 -08:00
2019-12-20 12:23:06 -08:00
2019-02-12 14:30:19 -08:00
2012-05-02 17:08:02 -07:00
2019-01-11 08:45:04 -08:00
2019-12-20 12:23:06 -08:00