-
some STD libraries need to be linked manually during compilation. |
Beta Was this translation helpful? Give feedback.
Answered by
dauom
Feb 21, 2024
Replies: 1 comment 2 replies
-
the threading library requires -lpthread flag present in the compilation command |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use the standard threading library
std::thread
(https://en.cppreference.com/w/cpp/thread/thread) instead of pthread.