Skip to content

v.1.3.0

Yauheni Akhotnikau edited this page Aug 30, 2019 · 1 revision

This page describes changes and new features of v.1.3.0.

Switch to C++17

Since v.1.3.0 so5extra requires C++17.

If you want to have support for C++14 or even C++11 in 1.3-branch please contact stiffstream to discuss such work.

Switch to SObjectizer-5.6

so5extra-1.3 should be used with SObjectizer v.5.6.0 or more fresh versions of SObjectizer which are compatible with SObjectizer-5.6.

Compatibility with so5extra-1.2 is broken

Because SObjectizer-5.6 is not compatible with SObjectizer-5.5 and the previous versions of so5extra were written for SObjectizer-5.5 there is also break of compatibility in so5extra-1.3.

If you use so5extra-1.2 or some previous version of so5extra you have to update your code for SObjectizer-5.6 and so5extra-1.3 specific changes.

New sublibrary so_5::extra::sync

There is a new sublibrary so_5::extra::sync that allows performing synchronous interaction between agents of threads (in the case when only mchains are used). The tutorial for that feature can be found here.

Changes in old sublibraries

so_5::extra::disp::asio_thread_pool

The Asio's thread pool dispatcher now implements the new dispatcher mechanism from SObjectizer-5.6. It means presence of dispatcher_handler_t instead of private_dispatcher_t+private_dispatcher_handler_t, and make_dispatcher() function instead of create_private_disp().

There is a version of dispatcher_handle_t::method that creates a new strand for an agent automatically.

so_5::extra::enveloped_msg

Methods send_delayed_to and send_periodic_to do not require a reference to SObjectizer Environment anymore. This reference is extracted automatically from the target mbox/mchain.

so_5::extra::mboxes::retained_msg

All stuff related to handling service requests has been removed from so_5::extra::mboxes::retained_mbox.

so_5::extra::revocable_timer

Functions send_delayed and send_periodic do not require a reference to SObjectizer Environment anymore. This reference is extracted automatically from the target mbox/mchain.

Clone this wiki locally