samedi 22 décembre 2018

Thread safe deque implementation

Im a newbie to c++ I need to implement deque with two threads. One thread will push back the data for every 1 sec and other thread will pop out the data from deque for every 0.5 secs.these two threads run in infinite loop

Can anyone help me to solve this

Aucun commentaire:

Enregistrer un commentaire