[Mochi-devel] Thallium 0.6 is out

Dorier, Matthieu mdorier at anl.gov
Thu Apr 23 13:13:11 CDT 2020


Dear Mochi users,

Thallium 0.6 was released today. This version brings improvements to the internal serialization mechanism in two aspects: memory usage, and type checking.

For the latter, as you know, using different types on the client and on the server can lead to memory corruption and/or Mercury errors. Now if you pass -DTHALLIUM_DEBUG_RPC_TYPES when compiling your code, (or use #define THALLIUM_DEBUG_RPC_TYPES before including thallium.hpp) thallium will add some type information in the RPC payload which will allow it to check that what is deserialized by a receiving process is of the same type as what was serialized by a sending process. This feature can be enabled while you are developing your service for example, and disabled when you compile it for production.

As usual, update your sds-repo installation and you will be able to install this new thallium using spack install mochi-thallium.

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mochi-devel/attachments/20200423/d06f292b/attachment.html>


More information about the mochi-devel mailing list