Looking for a linux wrapper programmer
log in

Advanced search

Message boards : News : Looking for a linux wrapper programmer

Author Message
Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7448
Credit: 42,730,867
RAC: 0
Message 8935 - Posted: 12 Jun 2023, 10:35:56 UTC

We are still trying to fix the suspend linux wrapper issue but no progress yet.

A short conclusion so far:

- the latest boinc wrapper code is working with suspend
- suspend is working on BOINC client (view status) but status failed in background on wrapper and app (running further)
- linux and windows source code (without the latest changes) are the same where suspend is working on windows

If you have some experiences with c++ and BOINC let me know. The current wrapper source code can be found here https://srbase.my-firewall.org/sr5/forum_thread.php?id=360&postid=8934

zioriga
Send message
Joined: 26 Apr 16
Posts: 1
Credit: 39,804,686
RAC: 0
Message 8936 - Posted: 12 Jun 2023, 11:34:32 UTC

May be I'm wrong, but I can try to tell that may be a difference from the sleep() function from Windows and Linux.

In Windows the sleep(x) means x/1000 seconds I'm not sure if also in Linux has the same meaning.

In the past I had a discussion with a Linux programmer for a Boinc project for his graduate thesis and I remember a difference from the two functions.

If this is not the solution, I'sorry

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7448
Credit: 42,730,867
RAC: 0
Message 8937 - Posted: 12 Jun 2023, 11:45:44 UTC - in response to Message 8936.

May be I'm wrong, but I can try to tell that may be a difference from the sleep() function from Windows and Linux.

In Windows the sleep(x) means x/1000 seconds I'm not sure if also in Linux has the same meaning.

In the past I had a discussion with a Linux programmer for a Boinc project for his graduate thesis and I remember a difference from the two functions.

If this is not the solution, I'sorry


Its the same in linux.

k
Send message
Joined: 29 Nov 17
Posts: 2
Credit: 859,779
RAC: 0
Message 8939 - Posted: 14 Jun 2023, 14:06:10 UTC
Last modified: 14 Jun 2023, 14:30:39 UTC

It may or may not be helpful.

>By default, waitpid() waits only for terminated children, but this behavior is modifiable via the options argument, as described below.
https://linux.die.net/man/2/waitpid

P.S.
Sorry, I've made a mistake. Just ignore this, please.


Post to thread

Message boards : News : Looking for a linux wrapper programmer


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther