0
issue in using semaphore c++
Hi I tried to use semaphore and expected output as below: 0102030405 but it does not print anything. What am I missing here? https://www.sololearn.com/en/compiler-playground/cfhtfuXNMsIC
3 ответов
+ 2
My bad. It was not an issue of semaphore.
I had passed object instead of pointer as first argument needed to pass along with class member function pointer.
https://sololearn.com/compiler-playground/cbOJm3f6ctPj/?ref=app
0
https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app
Cant enter your link!
Check that tutorial and reupload it so i can help you :)