aboutsummaryrefslogtreecommitdiff
path: root/zencore/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/thread.cpp')
-rw-r--r--zencore/thread.cpp6
1 files changed, 3 insertions, 3 deletions
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;