aboutsummaryrefslogtreecommitdiff
path: root/zencore/thread.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-25 14:32:49 +0100
committerMartin Ridgers <[email protected]>2021-11-25 14:37:40 +0100
commit74c008f3e2b4c607c3c73f5166f76b2e1ffcebee (patch)
treedb7b4085f7867f32264b6f73e83ec2c9aec915a1 /zencore/thread.cpp
parentUse file descriptor locks to claim global ownership of message queues (diff)
downloadzen-74c008f3e2b4c607c3c73f5166f76b2e1ffcebee.tar.xz
zen-74c008f3e2b4c607c3c73f5166f76b2e1ffcebee.zip
Changed linkage of a helper method
Diffstat (limited to 'zencore/thread.cpp')
-rw-r--r--zencore/thread.cpp2
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 };