Inspirel banner

Programming Distributed Systems with YAMI4

12.5 Multithreading

All functions and procedures in the core API are thread-safe (except for the initialization routines) and can be called from multiple threads.

In particular, it is possible to call the ``do some work'' routine from multiple threads, although there is usually no reason to do it. Those users who are concerned by the performance of message processing should rather invest in moving the work-intensive tasks out of callback implementations.