This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC with threads on Darwin/OS X


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]