fix pthread_setname_np on linux
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 1m6s
linux-x64-gcc / linux-gcc (push) Failing after 1m56s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m6s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 2m3s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 2m29s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 32m20s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 32m18s
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Failing after 1m6s
linux-x64-gcc / linux-gcc (push) Failing after 1m56s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m6s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 2m3s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Failing after 2m29s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Failing after 32m20s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 32m18s
This commit is contained in:
parent
e17beb8d24
commit
15a3c9319d
@ -39,7 +39,7 @@ public:
|
||||
#if __APPLE__
|
||||
pthread_setname_np(impl->thread_name_.c_str());
|
||||
#else
|
||||
pthread_setname_np(&impl->thread_, impl->thread_name_.c_str());
|
||||
pthread_setname_np(impl->thread_, impl->thread_name_.c_str());
|
||||
#endif
|
||||
|
||||
impl->latch_.CountDown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user