Subject: Re: lwp_emuldata
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 12/11/2003 21:24:02
Jason Thorpe <thorpej@wasabisystems.com> wrote:
> Mach uses one thread per LWP. This is something that will work in our
> current code, assuming all of the other necessary services are
> emulated.
Most of Mach thread stuff really used by Darwin binaries is already
emulated in COMPAT_MACH (see service Id around 3600 in
sys/compat/mach/mach_services.master).
I already run a few threaded programs, and they work fine: mach_init and
XDarwin for instance. The absence of a real per-thread kernel port have
not been a problem. It is getting mandatory in order to run gdb: this
one really wants to read each thread context.
--
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent
le binaire et ceux qui ne le comprennent pas.
manu@netbsd.org