summaryrefslogtreecommitdiff
path: root/rts/Schedule.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-11 15:38:27 +0000
committerIan Lynagh <igloo@earth.li>2008-09-11 15:38:27 +0000
commit9f076a02084843d54bcb6d8c63c443e9af820b67 (patch)
tree3b22f8c665135039c802240763b756e7e4205673 /rts/Schedule.h
parent6bfb3fcdbe0ee6080cb86a72518de1fd5646d610 (diff)
downloadhaskell-9f076a02084843d54bcb6d8c63c443e9af820b67.tar.gz
Use OSThreadProcAttr for workerStart
Diffstat (limited to 'rts/Schedule.h')
-rw-r--r--rts/Schedule.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/Schedule.h b/rts/Schedule.h
index 45aa000758..6ed7598212 100644
--- a/rts/Schedule.h
+++ b/rts/Schedule.h
@@ -70,7 +70,9 @@ StgWord findRetryFrameHelper (StgTSO *tso);
* Called from STG : NO
* Locks assumed : none
*/
-void workerStart(Task *task);
+#if defined(THREADED_RTS)
+void OSThreadProcAttr workerStart(Task *task);
+#endif
#if defined(GRAN)
void awaken_blocked_queue(StgBlockingQueueElement *q, StgClosure *node);