-
Notifications
You must be signed in to change notification settings - Fork 5
v.1.5.0
This page describes changes and new features of v.1.5.0.
This is a breaking change for those who use asio_one_thread and/or asio_thread_pool dispatchers with custom thread type. Since v.1.5.0 so5extra utilizes the standard SObjectizer's mechanism based on abstract_work_thread_t
/abstract_work_thread_factory_t
interfaces. It means that a user has to create an instance of a custom thread factory, then pass this factory to the parameters of a dispatcher (or to the parameters of the whole SObjectizer Environment).
It also means that thread_type
was removed from the corresponding default_traits_t
Traits-types. As a consequence, Traits-types for asio_one_thread and asio_thread_pool dispatchers are now empty. In the current version, dispatchers do not use anything from Traits-types. Empty Traits-types are kept to have a possibility to extend them in future versions.
A new type of MPSC mbox is introduced. It allows having several different subscribers if all of those subscribers are subscribed to different message types. That new mbox is implemented in so_5::extra::mboxes::unique_subscribers
namespace.