GC with threads on Darwin/OS X
Adam Megacz
gcj@lists.megacz.com
Thu Sep 12 13:45:00 GMT 2002
Brian Alliet <brian@brian-web.com> writes:
> I'm using mach's thread_suspend()/thread_resume() calls to suspend
> other threads while the GC does its work. It seems to be working
> well, well enough to almost run the X11 version of XWT
> (www.xwt.org).
Awesome!
> Before I get too far into this, is anyone else working on getting the
> GC and threads working on Darwin?
Probably not. I've kicked around ideas before on how to do this (for
example, statically linking against Jaguar's libpthread, which has
pthread_kill(), and then running the binary on 10.0), but if you were
able to do it in terms of Mach calls, that sounds like a much more
elegant solution!
- a
More information about the Java
mailing list