summaryrefslogtreecommitdiff
path: root/rts/posix/OSThreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r--rts/posix/OSThreads.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index a52fbe5d37..45f394208f 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -99,19 +99,19 @@ closeCondition( Condition* pCond )
return;
}
-rtsBool
+bool
broadcastCondition ( Condition* pCond )
{
return (pthread_cond_broadcast(pCond) == 0);
}
-rtsBool
+bool
signalCondition ( Condition* pCond )
{
return (pthread_cond_signal(pCond) == 0);
}
-rtsBool
+bool
waitCondition ( Condition* pCond, Mutex* pMut )
{
return (pthread_cond_wait(pCond,pMut) == 0);
@@ -150,12 +150,12 @@ osThreadId(void)
return pthread_self();
}
-rtsBool
+bool
osThreadIsAlive(OSThreadId id STG_UNUSED)
{
// no good way to implement this on POSIX, AFAICT. Returning true
// is safe.
- return rtsTrue;
+ return true;
}
void