mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:45:59 +01:00
Document viewer
caccb94c69
Currently, zathura crashes while performing ':close' command with the following error: GThread-ERROR **: file gthread-posix.c: line 226 (g_cond_free_posix_impl): error 'Device or resource busy' during 'pthread_cond_destroy ((pthread_cond_t *) cond)' The error is because 'render' thread holds condition variable while waiting for new pages to render. This patch modifies zathura's code to correctly kill render thread and free allocated resources when the document is being closed. NOTE: should be applied on top of "Allow changing of "pages-per-row" variable at runtime" commit to avoid conflicts in the 'page_view_set_mode()' function. Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com> |
||
---|---|---|
.gitignore | ||
callbacks.c | ||
callbacks.h | ||
commands.c | ||
commands.h | ||
completion.c | ||
completion.h | ||
config.c | ||
config.h | ||
config.mk | ||
document.c | ||
document.h | ||
LICENSE | ||
Makefile | ||
print.c | ||
print.h | ||
README | ||
render.c | ||
render.h | ||
shortcuts.c | ||
shortcuts.h | ||
utils.c | ||
utils.h | ||
zathura.1 | ||
zathura.c | ||
zathura.h | ||
zathura.pc.in |
zathura - a document viewer -------------------- zathura is a highly customizable and functional document viewer based on the girara user interface library and several document libraries. Requirements ------------ gtk2 (>= 2.18.6) girara Please note that you need to have a working pkg-config installation and that the Makefile is only compatible with GNU make. Installation ------------ To build and install zathura: make install Uninstall: ---------- To delete zathura from your system, just type: make uninstall