Fix warning on Windows (use deleteThread() not deleteThread_())
authorSimon Marlow <marlowsd@gmail.com>
Mon, 17 Nov 2008 14:30:47 +0000 (14:30 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 17 Nov 2008 14:30:47 +0000 (14:30 +0000)
rts/Schedule.c

index d25a321..742f3b4 100644 (file)
@@ -466,7 +466,7 @@ schedule (Capability *initialCapability, Task *task)
     // in a foreign call returns.
     if (sched_state >= SCHED_INTERRUPTING &&
         !(t->what_next == ThreadComplete || t->what_next == ThreadKilled)) {
-        deleteThread_(cap,t);
+        deleteThread(cap,t);
     }
 
     /* context switches are initiated by the timer signal, unless