The workQueue pointer is currently declared extern, so that WaitForSomething() can check wether we've got something in the queue and call ProcessWorkQueue() then. But that's trivial to simplify: just let ProcessWorkQueue() return early if workQueue == NULL. Gives us a better isolation of internal stuff as well as ProcessWorkQueue() protecting itself from possible segfault. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1310> |
||
---|---|---|
.. | ||
dtrace | ||
.gitignore | ||
Xinput.xml | ||
Xserver-spec.xml | ||
c-extensions | ||
filter-xmlto.sh | ||
meson.build | ||
smartsched |