Undefined reference to symbol 'sem_post@@GLIBC_2.4
sem_post()
lives in the pthread library, so make sure you use the -pthread
flag when compiling and linking.
sem_post()
lives in the pthread library, so make sure you use the -pthread
flag when compiling and linking.