summaryrefslogtreecommitdiff
path: root/source/tests/test_interprocess.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-15 22:09:46 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-15 22:09:46 +0200
commit94c01870418373c93744b73d29ebc74986cedd5c (patch)
tree1635e46a41fba46f5a632d8b594da901f8afe871 /source/tests/test_interprocess.c
parentbdcfa4e239d2c913c7045d0aa835ddd5a47e5436 (diff)
downloadkit-94c01870418373c93744b73d29ebc74986cedd5c.zip
file mapping
Diffstat (limited to 'source/tests/test_interprocess.c')
-rw-r--r--source/tests/test_interprocess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tests/test_interprocess.c b/source/tests/test_interprocess.c
index a69dd02..cf33086 100644
--- a/source/tests/test_interprocess.c
+++ b/source/tests/test_interprocess.c
@@ -10,6 +10,8 @@ enum { DATA_SIZE = 64 };
enum { STATE_INIT, STATE_READY, STATE_DONE };
int run_writer() {
+ kit_shared_memory_clean(SZ(NAME));
+
kit_shared_memory_t mem = kit_shared_memory_open(
SZ(NAME), DATA_SIZE, KIT_SHARED_MEMORY_CREATE);