diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2023-12-05 16:24:28 -0700 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2023-12-08 09:22:39 -0700 |
| commit | cf037972ea8863e2bab7461d77345367d2c1e054 (patch) | |
| tree | 24380df9d1fc1ef2960b806b25bdd9122f5cdb3a /contrib/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3494f7c019fc6558a99f63b7f647373b89bcde92 (diff) | |
libcasper: document that most libcasper functions are not thread-safe
And neither are most libcasper services' functions, because internally
they all use cap_xfer_nvlist. cap_xfer_nvlist sends and then receives
data over a unix domain socket and associated with the cap_channel_t
argument. So absent synchronization, two threads may not use the same
cap_channel_t argument or they risk receiving the other's reply.
MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: oshogbo
Differential Revision: https://reviews.freebsd.org/D42928
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
