mesa/src
Bas Nieuwenhuizen eb0adf444a util/fossilize_db: Add extra flock mutex.
The flock is per-fd, not per thread, and we do it outside of the main mutex. This was
done to avoid having to wait in the mutex, but we can get a case where one ends up running
the body with the flock unlocked.

Fix this by adding a mutex that doesn't need to be locked for reads.

Fixes: 4f0f8133a3 "util/fossilize_db: Do not lock the fossilize db permanently."
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12266>
(cherry picked from commit 30a359d633)
2021-08-09 08:32:05 +01:00
..
amd radv: fix selecting the first active CU when profiling with SQTT 2021-08-06 22:15:35 +01:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
broadcom v3d, vc4: Fix dmabuf import for non-scanout buffers 2021-08-04 23:12:19 +01:00
compiler glsl: Properly handle .length() of an unsized array 2021-08-04 23:12:17 +01:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/android: include "util/compiler.h" for FALLTHROUGH macro 2021-07-25 21:57:43 +01:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno freedreno/ir3: Add build id to the disassembler test 2021-08-04 23:12:18 +01:00
gallium virgl: disable anisotropic filtering. 2021-08-06 22:15:36 +01:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: revert "Downgrade sRGB-ful fbconfigs" 2021-05-03 23:55:02 +02:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: don't try to access Android swapchains 2021-08-09 08:29:55 +01:00
loader loader/dri3: create linear buffer with scanout support 2021-08-04 23:12:17 +01:00
mapi mesa: fix incomplete GL_NV_half_float implementation 2021-04-26 19:05:42 +02:00
mesa mesa/main: Check for fbo attachments when importing EGL images to textures 2021-08-04 23:12:17 +01:00
microsoft microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 19:43:26 +02:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Restrict swizzles on same cycle temporaries 2021-08-04 23:12:18 +01:00
util util/fossilize_db: Add extra flock mutex. 2021-08-09 08:32:05 +01:00
virtio venus: Fix zero-initialized fd causing apps to hang/crash 2021-05-18 23:02:27 +02:00
vulkan vulkan/wsi/x11: do not inherit last_present_mode 2021-08-04 23:12:17 +01:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00