babl: add babl_gc
authorØyvind Kolås <pippin@gimp.org>
Sat, 12 Nov 2022 22:36:09 +0000 (23:36 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 12 Nov 2022 23:18:47 +0000 (00:18 +0100)
commit5728b438dc5da0e7b1d25b2320cd111f9003cfcc
tree826751ecf427615c541685b6f5289b87b0208f93
parent09a2b4668ab10dc18042166641eaf5423ed07ac7
babl: add babl_gc

The LUT garbage collection was running ad-hoc as a side effect of processing,
this is problematic since it could trigger during processing of other threads
that might be using or freeing the same fish leading to races. The new babl_gc
function is to be called from the main thread, at times when processing is not
occuring, calling babl_gc is not neccesary in short lived commandline tools
and similar.
babl/babl-fish-path.c
babl/babl.h
export-symbols