diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-27 12:05:28 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-27 12:05:28 +0200 |
commit | baafb76b2d69b6cfd4be94b02be68dce86247bc0 (patch) | |
tree | c1f810acdc0d88275bdc00008f4898df29fd4e43 /src/lib/sockets.c | |
parent | 8bbc08da60fa088edd7a16754d718a4153db4d01 (diff) | |
download | ouroboros-baafb76b2d69b6cfd4be94b02be68dce86247bc0.tar.gz ouroboros-baafb76b2d69b6cfd4be94b02be68dce86247bc0.zip |
ipcpd: fixed the shim-udp grinding the cpu
In linux, the select call changes the timeout variable to the time not
spent in sleep, causing the timeout to decrease and that loop to grind
the cpu. The timeval is now reset to the correct value every loop.
Also removed a LOG_ERR message that was hampering performance.
Diffstat (limited to 'src/lib/sockets.c')
0 files changed, 0 insertions, 0 deletions