2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 11:57:34 +00:00
Jarrod Johnson de8e63883d Avoid looping select() on sockets repeatedly
When select() would identify a a socket, it would
potentially call select() on the same socket
before a recvfrom() would happen.  In python 2.7,
this caused the IO thread to block other threads
waiting on something the other threads needed to
do.  Resolve by explicitly ignoring a socket
where recvfrom() will be pending until recvfrom()
is next called.  This reduces one test case from
42,000-47,000 select() calls to just 86.

Change-Id: Ic8ebecfc61d048e537b5d76a6a3f0665fd340a3d
2014-05-09 12:52:29 -04:00
2013-08-17 22:29:25 -04:00
2013-06-30 14:21:20 -04:00
2013-08-17 22:29:25 -04:00
2013-06-24 14:15:39 -04:00
2014-05-08 14:06:01 -04:00
2013-09-13 11:28:28 -05:00
2014-05-08 14:06:01 -04:00
2013-09-13 11:28:28 -05:00
2013-06-30 14:21:20 -04:00

This is a pure python implementation of IPMI protocol.

pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
Description
No description provided
Readme Apache-2.0 13 MiB
Languages
Python 99.9%
Shell 0.1%