123456789101112131415161718192021222324252627282930313233 |
- #include <setjmp.h>
- #include <stddef.h>
- #include <pthreadP.h>
- extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
- #pragma weak __pthread_cleanup_upto
- void
- _longjmp_unwind (jmp_buf env, int val)
- {
- if (__pthread_cleanup_upto != NULL)
- __pthread_cleanup_upto (env->__jmpbuf, CURRENT_STACK_FRAME);
- }
- libc_hidden_def(_longjmp_unwind)
|