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

17th Aug 2024, 1:14 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
3 Respuestas
+ 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
28th Aug 2024, 4:26 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app Cant enter your link! Check that tutorial and reupload it so i can help you :)
26th Aug 2024, 10:01 AM
Ugulberto Sánchez
Ugulberto Sánchez - avatar