mardi 5 octobre 2021

How to pop the first element from concurrent_vector (PPL) in C++?

I am working on a program where I need to erase the first element from a concurrent_vector. How do I do that?

I thought of using concurrent_queue with try_pop but I need some concurrency-safe functions that are only provided by concurrent_vector (like element access).

Aucun commentaire:

Enregistrer un commentaire