compile fix
authorstefan <none@none>
Fri, 29 Oct 2004 13:21:41 +0000 (13:21 +0000)
committerstefan <none@none>
Fri, 29 Oct 2004 13:21:41 +0000 (13:21 +0000)
src/threads/native/threads.c
threads/nativethread.c

index bd60b801d1dff5b3b26728e3bd67ad2c1812802a..48e98a715a38f4a8061edaf10b983d5fc6eeb1da 100644 (file)
@@ -298,6 +298,9 @@ static void cast_darwinresume()
                nativethread *info = &tobj->info;
                if (info != infoself)
                {
+                       mach_port_t thread = info->mach_thread;
+                       kern_return_t r;
+
                        r = thread_resume(thread);
                        if (r != KERN_SUCCESS)
                                panic("thread_resume failed");
index bd60b801d1dff5b3b26728e3bd67ad2c1812802a..48e98a715a38f4a8061edaf10b983d5fc6eeb1da 100644 (file)
@@ -298,6 +298,9 @@ static void cast_darwinresume()
                nativethread *info = &tobj->info;
                if (info != infoself)
                {
+                       mach_port_t thread = info->mach_thread;
+                       kern_return_t r;
+
                        r = thread_resume(thread);
                        if (r != KERN_SUCCESS)
                                panic("thread_resume failed");