Ticket #1064 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

spins CPU due to incorrect polling

Reported by: sthalik Owned by: andar
Priority: major Milestone:
Component: gtkui Version: 1.2.0_rc3
Keywords: Cc:

Description

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.

Change History

Changed 3 years ago by andar

  • status changed from new to closed
  • resolution set to fixed

This is a pygtk bug and I believe it has been fixed upstream.

Note: See TracTickets for help on using tickets.