From e08fab20fc49f546e908763be6e7a11228fc68c6 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Fri, 7 Jan 2022 10:11:50 +0100 Subject: Corrected misleading comment --- zencore/thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zencore/thread.cpp') diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 1d36ba192..0a6af0406 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -281,9 +281,9 @@ NamedEvent::NamedEvent(std::string_view EventName) int LockResult = flock(Inner, LOCK_EX | LOCK_NB); if (LockResult == 0) { - // This is really thread safe as the message queue could be set between - // getting the exclusive lock and checking the queue. But for the our - // simple synchronising of process, this should be okay. + // This isn't really thread safe as the message queue could be set + // between getting the exclusive lock and checking the queue. But for + // the our simple synchronising of process, this should be okay. while (!IsMessageQueueEmpty(Inner)) { char Sink; -- cgit v1.2.3