diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-07-14 00:58:53 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-07-14 00:58:53 +0000 |
commit | d2c424e30cfecd22fea38aa7e3cdce9d030657cd (patch) | |
tree | ab7ca61b2fc224f6b1ec8f11777fe4ee3dcbb87c /lib/libkse/arch/arm | |
parent | 79e1f83f8dbbe08a49246049b8adee47c38eab47 (diff) | |
download | FreeBSD-src-d2c424e30cfecd22fea38aa7e3cdce9d030657cd.zip FreeBSD-src-d2c424e30cfecd22fea38aa7e3cdce9d030657cd.tar.gz |
Copy lwp id to thread mailbox.
Diffstat (limited to 'lib/libkse/arch/arm')
-rw-r--r-- | lib/libkse/arch/arm/include/pthread_md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libkse/arch/arm/include/pthread_md.h b/lib/libkse/arch/arm/include/pthread_md.h index 4cce212..2ba486c 100644 --- a/lib/libkse/arch/arm/include/pthread_md.h +++ b/lib/libkse/arch/arm/include/pthread_md.h @@ -233,6 +233,7 @@ _thread_switch(struct kcb *kcb, struct tcb *tcb, int setmbox) _tcb_set(kcb, tcb); mc = &tcb->tcb_tmbx.tm_context.uc_mcontext; if (_libkse_debug == 0) { + tcb->tcb_tmbx.tm_lwp = kcb->kcb_kmbx.km_lwp; if (setmbox) _thr_setcontext(mc, (intptr_t)&tcb->tcb_tmbx, (intptr_t *)&kcb->kcb_kmbx.km_curthread); |