[Bug 1274456] Re: BOINC is always suspended, if set to work when IDLE

Jussi 1274456 at bugs.launchpad.net
Fri Feb 14 13:14:06 UTC 2014


IsXReady function returns true when X is started. The static boolean
XisReady is just there to make sure IsXReady function is not execute after
X is ready. So it shouldn't slow down idle detection, and the function is
used only if X is expected to be in use (HAVE_XSS). So right now that code
only prevent idle detection code to be run when X is not ready. Because I
think the problem arises when X related things are initialized without X
being ready... apparently not that simple.

I tried it by changing string "Xorg" to "gnuchess", and yes BOINC client
sleeps until gnuchess was launched. So I think the code does what I meant.
My idea just isn't working, not sure why.

But, maybe similarly when BOINC start it would only sleep until X is ready
and then restart.
I will look if BOINC code has function for restart (at least it does make
fork/clone) or anything like that to make things easy.
If you know any relevant details, please let me know.

-- 
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in Ubuntu.
https://bugs.launchpad.net/bugs/1274456

Title:
  BOINC is always suspended, if set to work when IDLE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1274456/+subscriptions



More information about the pkg-boinc-devel mailing list