summaryrefslogtreecommitdiff
path: root/src/threads/Semaphore.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/Semaphore.vala')
-rw-r--r--src/threads/Semaphore.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads/Semaphore.vala b/src/threads/Semaphore.vala
index 05b1f13..dcb9e6e 100644
--- a/src/threads/Semaphore.vala
+++ b/src/threads/Semaphore.vala
@@ -27,7 +27,7 @@ public abstract class AbstractSemaphore {
private Mutex mutex = Mutex();
private Cond monitor = Cond();
- public AbstractSemaphore(Type type) {
+ protected AbstractSemaphore(Type type) {
assert(type == Type.SERIAL || type == Type.BROADCAST);
this.type = type;