Daniel:
When you report the last checkpoint time,
you're telling the client that the app has checkpointed.
This allows the client to preempt the application.
So what you see is normal.
-- David

On 19-Apr-2011 2:09 AM, Daniel Lombraña González wrote:
> Dear all,
>
> I have been tweaking my wrapper, and after changing some values in the
> function boinc_report_app_status() I have seen that the action Suspend Task
> changes its behavior. With these values:
>
> boinc_report_app_status(cpu_time,0,frac_done);
>
> when the task is suspended via the manager, the wrapper gets the
> status.suspended = true, allowing me to suspend or pause the application I'm
> running. However, if you change the values to:
>
> boinc_report_app_status(cpu_time,last_checkpoint,frac_done);
>
> when suspending the task, the wrapper gets status.quit_request = true,
> exiting the application (if you resume the application everything works as
> expected).
>
> Therefore my question is: is this behavior expected? Otherwise, is this a
> bug? Because I think that status.suspend is not related at all to
> boinc_report_app_status method.
>
> Regards,
>
> Daniel
>
_______________________________________________
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