linux的c/c++的运行报错“terminate called after throwing an instance of 'std::system_error'”的处理

报错场景是编译的时候没问题,但是运行的时候会报错:terminate called after throwing an instance of 'std::system_error'

原因是基本是编译的时候忘了加 -pthread或者-lpthread了。

猜你喜欢

转载自blog.csdn.net/dong_beijing/article/details/80955393