void fluke_thread_return_from_exception( fluke_thread_t *cur_thread);
Returns from an exception handler. Restores any saved state and resumes execution of the thread as indicated by the saved state. Execution will resume at the point of the exception if the saved state has not been modified.
- cur_thread
- A pointer to the thread object representing the current thread, e.g. as returned by fluke_thread_self.
If any of the following errors is detected by the Fluke implementation, it causes the current thread to take a synchronous exception with one of the following codes. All of these have an implicit FLUKE_INSANITY_ prefix.
- NOT_CURRENT_THREAD
- Thread specified was not the current thread.
fluke_thread_enable_exceptions, fluke_thread_disable_exceptions, fluke_thread_set_handlers, fluke_thread_get_saved_state, fluke_thread_set_saved_state