yyzybb537 / libgo

Go-style concurrency in C++11
MIT License
3.22k stars 758 forks source link

编译时,如果带有 -fvisibility=hidden ,协程切换会crash #251

Open yzf opened 3 years ago

yzf commented 3 years ago

编译时,如果带有 -fvisibility=hidden ,协程切换会crash,例子:

g++ -fvisibility=hidden sample2_yeild.cpp -o sample2_yeild -llibgo -ldl -pthread