| 561 | #define pthread_getcpuclockid(T, C) ENOTSUP |
| 562 | |
| 563 | static int pthread_exit(void *res) |
| 564 | { |
| 565 | pthread_t t = pthread_self(); |
| 566 | |
| 567 | t->ret_arg = res; |
| 568 | |
| 569 | _pthread_cleanup_dest(t); |
| 570 | |
| 571 | longjmp(t->jb, 1); |
| 572 | } |
| 573 | |
| 574 | |
| 575 | static void _pthread_invoke_cancel(void) |