Boost.MultiIndex has the same very basic thread safety guarantees than other containers in the standard library:
- Concurrent read-only access is OK.
- Concurrent write access must be externally synchronized by the user (you).
So, calls to modify
(or any other operation resulting in changes in the container) must be guarded with some mutex-like mechanism.