summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-05-09 18:25:48 +0000
committerwtc%netscape.com <devnull@localhost>2000-05-09 18:25:48 +0000
commite6c21972626d00b6402a3c8865e93f361cb45af1 (patch)
treef935a49e9b73454645dec864123398e92b5485d0
parent80e1874978037be5f31956c8b2e4e993f2f470b8 (diff)
downloadnspr-hg-e6c21972626d00b6402a3c8865e93f361cb45af1.tar.gz
Bugzilla bug #31120: _PR_Unblock_IO_Wait was binding the interrupted
local thread to the wrong CPU. (NSPRPUB_CLIENT_BRANCH)
-rw-r--r--pr/src/md/windows/ntio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/md/windows/ntio.c b/pr/src/md/windows/ntio.c
index 5326be68..20f0e695 100644
--- a/pr/src/md/windows/ntio.c
+++ b/pr/src/md/windows/ntio.c
@@ -744,7 +744,7 @@ void _PR_Unblock_IO_Wait(PRThread *thr)
* this thread will continue to run on the same cpu until the
* I/O is aborted by closing the FD or calling CancelIO
*/
- thr->md.thr_bound_cpu = me->cpu;
+ thr->md.thr_bound_cpu = cpu;
PR_ASSERT(!(thr->flags & _PR_IDLE_THREAD));
_PR_AddThreadToRunQ(me, thr);