I'm not sure what the problem is,
but compare your code with the existing wrappers
(wrapper.cpp, vboxwrapper.cpp) which work.
-- David

On 7/20/2016 10:58 AM, Benoist Wolleb wrote:
Hi everyone,

I am a student doing my thesis and I am writing a custom boinc wrapper for Docker. As 
suggested on the API for wrappers 
<https://boinc.berkeley.edu/trac/wiki/OptionsApi>, it polls the BOINC_STATUS 
structure via a periodic call to boinc_get_status().

It correctly handles the changes on "suspended" so It can pause/resume the Docker container when 
the client decides to stop/restart the computation, but it seems there is no change on the structure when the 
user clicks on "Suspend" or "Abort" button, on the boincmgr GUI. Do you have any idea 
why, or how I should do it?

The wrapper initialized boinc with these options:

BOINC_OPTIONS options;
boinc_options_defaults(options);
options.main_program = true;
options.send_status_msgs = true;
options.check_heartbeat = true;
options.handle_process_control = true;
options.direct_process_action = false;
boinc_init_options(&options);

Thank you fr your help.

Best regards,

Benoist Wolleb
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to