TerminateProcess function:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686714(v=vs.85).aspx
ExitProcess function:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682658(v=vs.85).aspx

I understood that there is a difference between TerminateProcess and
ExitProcess functions. I also understood that TerminateProcess is being
used for the Windows Wrapper. I'm proposing another time limit (let's call
it exit_time_limit) that calls ExitProcess function (instead of calling
TerminateProcess function). I'm hoping that it will cause the application
to quit nicely and the result not being rendered useless. Or is there some
another way to make the application to quit nicely after a time limit?

Henri.

2014-10-31 9:51 GMT+02:00 David Anderson <[email protected]>:

> I'm not sure what's being requested.
> -- David
>
>
> On 30-Oct-2014 10:49 AM, Henri Heinonen wrote:
>
>> According to http://boinc.berkeley.edu/trac/wiki/WrapperApp
>> ----
>> time_limit
>> if given, kill the task after the given amount of elapsed (running) time.
>> Note: on Windows, tasks are killed using TerminateProcess(), which doesn't
>> flush stdio buffers; take this into account.
>> ----
>>
>> Is it possible to exit the application after certain time without
>> terminating it? We would like to have that feature in Wrapper. This way
>> the
>> result wouldn't be marked as invalid.
>>
>> Henri.
>> _______________________________________________
>> 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.
>
_______________________________________________
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