diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 22:09:46 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 22:09:46 +0200 |
commit | 94c01870418373c93744b73d29ebc74986cedd5c (patch) | |
tree | 1635e46a41fba46f5a632d8b594da901f8afe871 /source/tests/test_interprocess.c | |
parent | bdcfa4e239d2c913c7045d0aa835ddd5a47e5436 (diff) | |
download | kit-94c01870418373c93744b73d29ebc74986cedd5c.zip |
file mapping
Diffstat (limited to 'source/tests/test_interprocess.c')
-rw-r--r-- | source/tests/test_interprocess.c | 2 |
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); |