![]() |
PK_THREAD_register_error_cbs |
PK_ERROR_code_t PK_THREAD_register_error_cbs ( --- received arguments --- PK_ERROR_frustrum_t frustrum --- application's error handler ) This function registers the given error handler for the calling thread. The thread error handler will override the registered session handler. See PK_ERROR_register_callbacks for information on how error handlers are used. Parasolid subthreads will inherit the error handler from the application thread that started them. If a NULL value has been provided for the handler then the thread will default to the session handler. Thread error handlers may only be registered when the modeller is started, and when subthreads are not running.