Skip to content

SharedLibrary::isLoaded() not thread safe #3175

@daohu527

Description

@daohu527

As SharedLibraryImpl::loadImpl and SharedLibraryImpl::unloadImpl both have a lock, why isLoadedImpl don't have a lock? It's not thread safe.

bool SharedLibraryImpl::isLoadedImpl() const
{
return _handle != 0;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions