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
Post a Comment