client (Unix): add support for idle detection in a separate process#6242
client (Unix): add support for idle detection in a separate process#6242davidpanderson merged 11 commits intomasterfrom
Conversation
The design is described here: https://github.com/BOINC/boinc/wiki/Linux-idle-detection
…ction. shm_open() and mmap() are the standard way to do this. This requires -lrt. I just added this to Makefile.am; probably not the right way.
|
@davidpanderson do you mind making these signed 64 bit ints instead of unsigned so that we conform to the new time standard? POSIX requires time to be a signed int. The complete spec in <time.h> is actually Where time_t is typedefd internally in the header file to a 64 bit signed integer type on that platform. We obviously don't need the nanoseconds part for this so just using the 64 bit signed integer is perfectly fine. |
|
Uh, sure. |
|
This PR fails during the build for Android: |
|
fixed (I hope) |
- include -lcrypto after -lssl - include -lrt only if it exists
Don't use xss detection on Wayland. Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@davidpanderson, please review and merge if it looks fine to you. |
The design is described here:
https://github.com/BOINC/boinc/wiki/Linux-idle-detection