diff options
| author | Martin Ridgers <[email protected]> | 2022-01-07 10:11:50 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-07 10:16:52 +0100 |
| commit | e08fab20fc49f546e908763be6e7a11228fc68c6 (patch) | |
| tree | ccba8c9e5c09d5eac74364cc8d0b46f837847d9e /zencore/thread.cpp | |
| parent | Include POSIX headers on all platforms except Windows (diff) | |
| download | zen-e08fab20fc49f546e908763be6e7a11228fc68c6.tar.xz zen-e08fab20fc49f546e908763be6e7a11228fc68c6.zip | |
Corrected misleading comment
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 6 |
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; |