Results 1 issues of

可如下复现: int raw_thread(void*p) { float pi = 3.14; printf("remote: hello %s\n", (char*)p); ctx_swapcontext(&cc, &mc); printf("remote: back again\n"); ctx_swapcontext(&cc, &mc); printf("remote: return, %f\n", pi); return 1024; } 切换为posix ucontext系列函数不会core。 从glibc源码看,都使用的FNSTENV保存FPU的环境信息; gdb...