Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~116 People Reached
Favorite Forums
Favorite Tags
Member Avatar for ramonlarodo

What I am trying to do is each thread gets to print out its 5 characters before potentially yielding to another thread. It works but it does not do what I want. THanks for help. for (unsigned i = 0; i < _repCount; ++i) { unique_lock<mutex> lck(mtx); cv.wait(lck, []{return !inUse; …

Member Avatar for Moschops
0
116