doc: minor changes

This commit is contained in:
skypjack
2025-05-21 16:29:02 +02:00
parent 995018f1a7
commit 1f182a25db
2 changed files with 9 additions and 9 deletions

View File

@@ -44,10 +44,10 @@ also limited to this library only.
In general, `EnTT` does not offer primitives to support multi-threading. Many of
the features can be split over multiple threads without any explicit control and
the user is the one who knows if a synchronization point is required.
However, some internal static data shared between threads *MUST* be made atomic
when using `EnTT` in multiple threads, even when using local storage.<br/>
Define this macro without assigning any value to it to make those variables atomic.
the user is the one who knows if a synchronization point is required.<br/>
However, some internal static data shared between threads should be atomic when
using `EnTT` from multiple threads, even when dealing with local storage. Define
this macro without assigning any value to it to get the job done.
## ENTT_ID_TYPE

View File

@@ -2366,11 +2366,11 @@ expedients.
Finally, `EnTT` is configured via a few compile-time definitions to make some of
its parts implicitly thread-safe, roughly speaking only the ones that really
make sense and cannot be turned around. When using multiple threads with `EnTT`,
you *MUST* define `ENTT_USE_ATOMIC` unless you know exactly what you are doing.
This is true even if each thread only uses thread local data.
For more information, see:
[configuring `ENTT_USE_ATOMIC`](config.md#entt_use_atomic).
make sense and cannot be turned around.<br/>
When using multiple threads with `EnTT`, you should define `ENTT_USE_ATOMIC`
unless you know exactly what you are doing. This is true even if each thread
only uses thread local data. For more information, see
[this section](config.md#entt_use_atomic).
## Iterators