CPU Gobbler in Geany

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Geany (F11, up to date) gobbles CPU while waiting for a Build or Compile to complete.

My *suspicion* is that it does (conceptually):

             foo = popen (build-command-string, "r")
             set filedescriptor_of(foo) == NON_BLOCK

            toolkit-add-input-event(foo)

If the event handler in the toolkit uses select(), it will continuously return "ready" on that file descriptor, because it's set non-blocking. This is a classic mistake, but maybe it's something else entirely. Problem is, the Geany CPU gobbling tends to compete with the compilers
  CPU requirements :-(

Cheers
Marcus


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux