void _longjmp_unwind (jmp_buf env, int val) { #ifdef SHARED if (__libc_pthread_functions_init) PTHFCT_CALL (ptr___pthread_cleanup_upto, (env->__jmpbuf, CURRENT_STACK_FRAME)); #else if (__pthread_cleanup_upto != NULL) __pthread_cleanup_upto (env->__jmpbuf, CURRENT_STACK_FRAME); #endif }
void _longjmp_unwind (jmp_buf env, int val) { char local_var; #ifdef SHARED if (__libc_pthread_functions_init) PTHFCT_CALL (ptr___pthread_cleanup_upto, (env->__jmpbuf, &local_var)); #else if (__pthread_cleanup_upto != NULL) __pthread_cleanup_upto (env->__jmpbuf, &local_var); #endif }