Added a comment

This commit is contained in:
Alexey Milovidov 2019-07-28 17:55:02 +03:00
parent 41eaeb3e3d
commit 32a9b27876

View File

@ -20,6 +20,9 @@ SharedLibrary::SharedLibrary(const std::string & path, int flags)
throw Exception(std::string("Cannot dlopen: ") + dlerror(), ErrorCodes::CANNOT_DLOPEN);
updatePHDRCache();
/// NOTE: race condition exists when loading multiple shared libraries concurrently.
/// We don't care (or add global mutex for this method).
}
SharedLibrary::~SharedLibrary()