bus: add minimal locking around the memfd cache
We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache.
This commit is contained in:
@@ -1749,6 +1749,10 @@ libsystemd_bus_la_LIBADD = \
|
||||
libsystemd-shared.la \
|
||||
libsystemd-daemon.la
|
||||
|
||||
libsystemd_bus_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
-pthread
|
||||
|
||||
noinst_LTLIBRARIES += \
|
||||
libsystemd-bus.la
|
||||
|
||||
|
||||
Reference in New Issue
Block a user