chiark / gitweb /
shared: add generic IPC barrier
[elogind.git] / Makefile.am
index 702513768335585db98d123e8af3b5713dc0fa07..f0d80ba748a96c297e5187747477e43e5d9a91e4 100644 (file)
@@ -841,6 +841,8 @@ libsystemd_shared_la_SOURCES = \
        src/shared/login-shared.h \
        src/shared/ring.c \
        src/shared/ring.h \
+       src/shared/barrier.c \
+       src/shared/barrier.h \
        src/shared/async.c \
        src/shared/async.h \
        src/shared/eventfd-util.c \
@@ -1251,6 +1253,7 @@ tests += \
        test-ellipsize \
        test-util \
        test-ring \
+       test-barrier \
        test-tmpfiles \
        test-namespace \
        test-date \
@@ -1421,6 +1424,12 @@ test_ring_SOURCES = \
 test_ring_LDADD = \
        libsystemd-core.la
 
+test_barrier_SOURCES = \
+       src/test/test-barrier.c
+
+test_barrier_LDADD = \
+       libsystemd-core.la
+
 test_tmpfiles_SOURCES = \
        src/test/test-tmpfiles.c