diff --git a/lib/shared_memory.cpp b/lib/shared_memory.cpp index 25fd61f7..01ee0743 100644 --- a/lib/shared_memory.cpp +++ b/lib/shared_memory.cpp @@ -939,7 +939,9 @@ namespace IPC { } } } - Util::wait(500); + if (offsetOnPage == -1){ + Util::wait(500); + } } free(empty); }