Are the static sets thread safe? #593
Answered
by
sleeepyjack
HugoPhibbs
asked this question in
Q&A
|
Basically the title. My idea is to run a multi-threaded CPU program that uses a list of static_sets. There may be conflicts across threads around reading and writing to these static sets. Essentially, you may get two threads attempting to write to the same static set at a given point in time. If you need more info, please let me know. Is this safe to do? |
Answered by
sleeepyjack
Aug 28, 2024
Replies: 1 comment
|
Thanks for reaching out to us! Using the host bulk APIs is thread-safe as long as different threads perform the same kind of operation, e.g., all |
0 replies
Answer selected by
PointKernel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for reaching out to us!
Using the host bulk APIs is thread-safe as long as different threads perform the same kind of operation, e.g., all
insertor all do afind. Mixing mutating ops (insert) with any lookup operation is not supported as of now.