We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#636 introduced a deadlock in Library::writeBookmarksToFile().
Library::writeBookmarksToFile()
Library::writeBookmarksToFile() calls LibXMLDumper::dumpLibXMLBookmark() under a lock
LibXMLDumper::dumpLibXMLBookmark()
libkiwix/src/library.cpp
Lines 274 to 283 in 01ac0b2
LibXMLDumper::dumpLibXMLBookmark() calls the thread-safe function Library::getBookmarks() which is protected by the same mutex:
Library::getBookmarks()
libkiwix/src/libxml_dumper.cpp
Lines 127 to 140 in 01ac0b2
Lines 344 to 358 in 01ac0b2
The text was updated successfully, but these errors were encountered:
veloman-yunkan
Successfully merging a pull request may close this issue.
#636 introduced a deadlock in
Library::writeBookmarksToFile()
.Library::writeBookmarksToFile()
callsLibXMLDumper::dumpLibXMLBookmark()
under a locklibkiwix/src/library.cpp
Lines 274 to 283 in 01ac0b2
LibXMLDumper::dumpLibXMLBookmark()
calls the thread-safe functionLibrary::getBookmarks()
which is protected by the same mutex:libkiwix/src/libxml_dumper.cpp
Lines 127 to 140 in 01ac0b2
libkiwix/src/library.cpp
Lines 344 to 358 in 01ac0b2
The text was updated successfully, but these errors were encountered: