General methods for checking if a library / API is thread safe

I received the library from an external developer as a well-defined API (in C ++ and Java). What tests can be tested in a thread safe library?

+3
source share
1 answer

Basically, you cannot, it is more or less impossible to check for thread safety.

And also, if you do not have an author’s guarantee that the library is thread safe, they are not going to fix thread problems, so future versions may be less thread safe.

, : , .. , , , , -. .

+3

Source: https://habr.com/ru/post/1721612/


All Articles