summaryrefslogtreecommitdiff
path: root/includes/rts/OSThreads.h
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2021-01-04 09:46:58 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-17 05:49:54 -0500
commit33fc453fd46e54410472a7bad7585e5d1821c0ec (patch)
tree948b2b5af172fcac62364c656e71b70af4ce0bde /includes/rts/OSThreads.h
parent345ae06b3334a64e9d6db9ea69573ef3227e535a (diff)
downloadhaskell-33fc453fd46e54410472a7bad7585e5d1821c0ec.tar.gz
rts: add timedWaitCondition
Diffstat (limited to 'includes/rts/OSThreads.h')
-rw-r--r--includes/rts/OSThreads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/rts/OSThreads.h b/includes/rts/OSThreads.h
index 21b92950b2..ed9c0a3b5e 100644
--- a/includes/rts/OSThreads.h
+++ b/includes/rts/OSThreads.h
@@ -175,6 +175,7 @@ extern void closeCondition ( Condition* pCond );
extern bool broadcastCondition ( Condition* pCond );
extern bool signalCondition ( Condition* pCond );
extern bool waitCondition ( Condition* pCond, Mutex* pMut );
+extern bool timedWaitCondition ( Condition* pCond, Mutex* pMut, Time timeout);
//
// Mutexes