3 Replies Latest reply on Feb 15, 2011 1:24 PM by toastedcrumpets

    SDK registers a signal handler, which appears to just call exit()

    toastedcrumpets

      I've been developing a multithreaded OpenCL/OpenGL application (see my website for more information).

      I've got a problem in that the SDK registers a signal handler at some point, and responds to SIGINT with an exit(). This is very annoying as it doesn't give my threads a chance to clean themselves up as they don't exit cleanly. I'll have to use pthread cleanup handlers to fix this.

      Does the SDK have to register a signal handler? Can someone explain why this behaviour is required and if it can be disabled?