From 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:52 +0200 Subject: Adding upstream version 255.4. Signed-off-by: Daniel Baumann --- man/threads-aware.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 man/threads-aware.xml (limited to 'man/threads-aware.xml') diff --git a/man/threads-aware.xml b/man/threads-aware.xml new file mode 100644 index 0000000..442e45b --- /dev/null +++ b/man/threads-aware.xml @@ -0,0 +1,23 @@ + + + + + + +All functions listed here are thread-agnostic and only a single specific thread may operate on a +given object during its entire lifetime. It's safe to allocate multiple independent objects and use each from a +specific thread in parallel. However, it's not safe to allocate such an object in one thread, and operate or free it +from any other, even if locking is used to ensure these threads don't operate on it at the very same time. + +All functions listed here are thread-safe and may be called in parallel from multiple threads. + +The code described here uses +getenv3, +which is declared to be not multi-thread-safe. This means that the code calling the functions described +here must not call +setenv3 +from a parallel thread. It is recommended to only do calls to setenv() +from an early phase of the program when no other threads have been started. + + -- cgit v1.2.3