#1065: spins CPU due to incorrect polling
---------------------+------------------------------------------------------
Reporter: sthalik | Owner: andar
Type: bug | Status: new
Priority: major | Milestone:
Component: gtkui | Version: 1.2.0_rc3
Keywords: |
---------------------+------------------------------------------------------
rc3 spins the CPU due to not polling correctly.
poll([{fd=7, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10,
events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=13, events=POLLIN}, {fd=4, events=POLLIN}], 8, 18) = 1
([{fd=9, revents=POLLIN}])
read(10, 0x1b3c8b4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
It's fd 9 that has incoming data and read(2) is called on fd 10.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1065>
Deluge <http://deluge-torrent.org/>
Deluge project
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en
-~----------~----~----~----~------~----~------~--~---