diff options
| author | Martin Ridgers <[email protected]> | 2021-11-25 14:32:49 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-25 14:37:40 +0100 |
| commit | 74c008f3e2b4c607c3c73f5166f76b2e1ffcebee (patch) | |
| tree | db7b4085f7867f32264b6f73e83ec2c9aec915a1 /zencore/thread.cpp | |
| parent | Use file descriptor locks to claim global ownership of message queues (diff) | |
| download | zen-74c008f3e2b4c607c3c73f5166f76b2e1ffcebee.tar.xz zen-74c008f3e2b4c607c3c73f5166f76b2e1ffcebee.zip | |
Changed linkage of a helper method
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 3eeecbf4c..20bcc0731 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -236,7 +236,7 @@ Event::Wait(int TimeoutMs) ////////////////////////////////////////////////////////////////////////// #if ZEN_PLATFORM_LINUX -bool IsThereAMessageInQueue(int Fd) +static bool IsThereAMessageInQueue(int Fd) { // Check if there is already a message in the queue. mq_attr Attributes = { O_NONBLOCK, 1, 1, 0 }; |