Boost logo

Boost Users :

Subject: [Boost-users] Boost sync_queue clear
From: kjw (kenneth69_at_[hidden])
Date: 2018-01-19 23:17:44


Hi,
I am a user of the Boost Thread library experimental class, "sync_queue".

I would like to know if there is a way to remove all elements currently in the queue.

I don't see a "clear()" or "erase()" type method exposed and I don't see an easy way to access the internal container as a workaround.

Thanks to all Boost developers for creating such a great collection of libraries.

Ken


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net