mattreecebentley / plf_list

A drop-in replacement for std::list with 293% faster insertion, 57% faster erasure, 17% faster iteration and 77% faster sorting on average. 20-24% speed increase in use-case testing.
https://plflib.org/list.htm
zlib License
151 stars 21 forks source link

hello, Is multithreading safe? #17

Closed putao520 closed 4 years ago

putao520 commented 4 years ago

hello,plf_list Is multithreading safe? thank u

mattreecebentley commented 4 years ago

Depends what you mean by thread-safe. A thread-safety matrix is here: https://plflib.org/list.htm#faq

I imagine a much more thread-safe version could be built at a cost to performance.