El Miércoles 22 Jul 2009 06:25:11 Oliver Bock escribió:
> "Sending sigkill (ctrl-c) to an application that is currently running a
> kernel on the GPU may not result in a clean shutdown of the process as the
> kernel may continue running for a long time afterwards on the GPU. In such
> cases, a system restart may be necessary before running further CUDA or
> graphics applications."

SIGKILL is the one signal that is impossible to "block" by an application; the 
kernel will really kill the app and the app can do nothing to avoid it. BOINC 
doesn't use it to terminate applications. (by the way, ctrl-c is sigint, not 
sigkill)

On Unix, when the client asks a science app to quit, the science app will call 
plain old exit(). Cleanup functions configured with atexit() will be called.

On Windows, the science app kills itself with 
TerminateProcess(GetCurrentProcess())
_______________________________________________
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