1BSON_THREADING(3) libbson BSON_THREADING(3)
2
3
4
5Libbson's data structures are NOT thread-safe. You are responsible for access‐
6ing and mutating these structures from one thread at a time.
7
8Libbson requires POSIX threads (pthreads) on all UNIX-like platforms. On Win‐
9dows, the native threading interface is used. Libbson uses your system's
10threading library to safely generate unique ObjectIds, and to provide a fall‐
11back implementation for atomic operations on platforms without built-in atom‐
12ics.
13
15 MongoDB, Inc
16
18 2017-present, MongoDB, Inc
19
20
21
22
231.25.1 Nov 08, 2023 BSON_THREADING(3)