From 55e79c16fa744c343412d07c5404802ab734b920 Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Sat, 19 Feb 2005 18:41:33 +0000 Subject: [PATCH] bug 282031. [BEOS] Our nsToolkit::CallMethod is broken. r=sergei_d, sr=dougt --- xpcom/threads/plevent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/threads/plevent.c b/xpcom/threads/plevent.c index e08dac3e2aa1..aef5a4670df3 100644 --- a/xpcom/threads/plevent.c +++ b/xpcom/threads/plevent.c @@ -1282,7 +1282,7 @@ _pl_NativeNotify(PLEventQueue* self) struct ThreadInterfaceData { void *data; - int32 sync; + thread_id waitingThread; }; static PRStatus @@ -1290,7 +1290,7 @@ _pl_NativeNotify(PLEventQueue* self) { struct ThreadInterfaceData id; id.data = self; - id.sync = false; + id.waitingThread = 0; write_port(self->eventport, 'natv', &id, sizeof(id)); return PR_SUCCESS; /* Is this correct? */