Releases: Stiffstream/sobjectizer
v.5.7.4.1
v.5.7.4
This is a minor update with two small additions.
Now delivery filter can be set for MPSC mbox (see #40), but not all custom implementations of MPSC mboxes can support that feature.
Now SObjectizer allows to set a custom direct mbox and an agent (see #39).
Some old error codes described in so_5/ret_code.hpp
are now marked as deprecated (#44). They will be removed in some future version.
Additional details related to that release can be found on the corresponding page in the project Wiki.
v.5.7.3
Procedures for closing a mchain have been changed. Old versions of abstract_message_chain_t::close
, close_drop_content
, close_retain_content
that receive a single close_mode
parameter marked as deprecated. New versions that receive so_5::terminate_if_throws
or so_5::exceptions_enabled
as the first argument are introduced.
A possibility to provide own threads to SObjectizer's dispatchers is introduced. A user can create own classes derived from so_5::disp::abstract_work_thread_t
and so_5::disp::abstract_work_thread_factory_t
. An instance of implementation of abstract_work_thread_factory_t
can be specified to the parameters to a SObjectizer dispatcher or the whole SObjectizer Environment.
New method so_deactivate_agent
added to so_5::agent_t
class. This method drops all subscriptions and switches the agent to a special state in that the agent waits for the deregistration.
More strict control for thread-safe event-handlers is implemented. Now actions like switching state or managing of subscriptions are controlled inside thread-safe event-handlers even if an agent is bound to dispatcher distinct from adv_thread_pool.
Additional details related to that release can be found on the corresponding page in the project Wiki.