mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
ConcurrentQueue is currently used only by two classes and a test, but modifying concurrent_queue.h requires recompiling 30 source files. None of the member functions is so lightweight as to make it worth inlining. An alternative to `@note ConcurrentQueue is unable to execute jobs if @p threadCount == 0.` is `assert(threadCount != 0);`. But this would force classes that contain a ConcurrentQueue data member to always start a thread, even if they detect at runtime that they are never going to enqueue a job. Add Job type alias to avoid repeating the type. Use default member initializers instead of the member initializer list to make it clear [to the reader of the header] that no data member is left uninitialized. |
||
---|---|---|
.. | ||
gl | ||
bookmarks.cpp | ||
bookmarks.h | ||
check_new_version.cpp | ||
check_new_version.h | ||
comic_db.cpp | ||
comic_db.h | ||
comic.cpp | ||
comic.h | ||
concurrent_queue.cpp | ||
concurrent_queue.h | ||
custom_widgets.cpp | ||
custom_widgets.h | ||
exit_check.cpp | ||
exit_check.h | ||
folder.cpp | ||
folder.h | ||
http_worker.cpp | ||
http_worker.h | ||
library_item.cpp | ||
library_item.h | ||
onstart_flow_selection_dialog.cpp | ||
onstart_flow_selection_dialog.h | ||
opengl_checker.cpp | ||
opengl_checker.h | ||
pdf_comic.cpp | ||
pdf_comic.h | ||
pdf_comic.mm | ||
pictureflow.cpp | ||
pictureflow.h | ||
qnaturalsorting.cpp | ||
qnaturalsorting.h | ||
release_acquire_atomic.h | ||
scroll_management.cpp | ||
scroll_management.h | ||
worker_thread.h | ||
yacreader_global_gui.cpp | ||
yacreader_global_gui.h | ||
yacreader_global.cpp | ||
yacreader_global.h |