diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2021-01-04 09:46:58 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-17 05:49:54 -0500 |
commit | 33fc453fd46e54410472a7bad7585e5d1821c0ec (patch) | |
tree | 948b2b5af172fcac62364c656e71b70af4ce0bde /includes | |
parent | 345ae06b3334a64e9d6db9ea69573ef3227e535a (diff) | |
download | haskell-33fc453fd46e54410472a7bad7585e5d1821c0ec.tar.gz |
rts: add timedWaitCondition
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/OSThreads.h | 1 |
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 |