I am using Debian stable. I was coding a multithreaded application in C++ and using g++
compiler and -lpthread argument
to compile.
But the function pthread_getthreadid_np()
not works:
error: ‘pthread_getthreadid_np’ was not declared in this scope
what is causing this error?