c++ - Boost asio priority and strand -


i want use boost asio message queue. want different operations on different objects. operations have priority. if there operation oft type none of type b should executed. understanding priority example in boost dokumentation does. need is, if there 1 operation running in 1 object, not want execute operation in same object. can done boost asio?

the latter has nothing priority queuing , operation serialization.

you can achieve using active object pattern. example of active object using asio in post: boost::asio , active object

you can "simply" combine pattern pattern priority queuing saw in example.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -