aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/tools/llc/llc.cpp
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2023-12-05 23:24:28 +0000
committerAlan Somers <asomers@FreeBSD.org>2023-12-08 16:22:39 +0000
commitcf037972ea8863e2bab7461d77345367d2c1e054 (patch)
tree24380df9d1fc1ef2960b806b25bdd9122f5cdb3a /contrib/llvm-project/llvm/tools/llc/llc.cpp
parent3494f7c019fc6558a99f63b7f647373b89bcde92 (diff)
downloadsrc-cf037972ea8863e2bab7461d77345367d2c1e054.tar.gz
src-cf037972ea8863e2bab7461d77345367d2c1e054.zip
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/tools/llc/llc.cpp')
0 files changed, 0 insertions, 0 deletions