projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e53a3c5
)
compile fix
author
stefan
<none@none>
Fri, 29 Oct 2004 13:21:41 +0000
(13:21 +0000)
committer
stefan
<none@none>
Fri, 29 Oct 2004 13:21:41 +0000
(13:21 +0000)
src/threads/native/threads.c
patch
|
blob
|
history
threads/nativethread.c
patch
|
blob
|
history
diff --git
a/src/threads/native/threads.c
b/src/threads/native/threads.c
index bd60b801d1dff5b3b26728e3bd67ad2c1812802a..48e98a715a38f4a8061edaf10b983d5fc6eeb1da 100644
(file)
--- a/
src/threads/native/threads.c
+++ b/
src/threads/native/threads.c
@@
-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");
diff --git
a/threads/nativethread.c
b/threads/nativethread.c
index bd60b801d1dff5b3b26728e3bd67ad2c1812802a..48e98a715a38f4a8061edaf10b983d5fc6eeb1da 100644
(file)
--- a/
threads/nativethread.c
+++ b/
threads/nativethread.c
@@
-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");