[Mono-dev] Sgen GC for Mac

Tom Philpot tom.philpot at logos.com
Tue Nov 17 20:11:28 EST 2009


Apparently Mono's new garbage collector requires __thread (pthread
thread local storage) which is not supported by Mac OS X.

configure: error: The SGEN garbage collector depends on a working
__thread implementation, and either --with-thread=pthread was passed
to configure, or the configure test for __thread failed.

Since Mac doesn't support thread local storage (TLS) via __thread, are there
ever plans to implement Sgen GC on Mac?

For those interested, here's some historical reading on this for those
interested:
http://lists.apple.com/archives/Darwin-dev/2008/Jul/msg00001.html
http://lists.apple.com/archives/darwin-dev/2005/Sep/threads.html#00005

Particularly interesting is Paolo Molaro in here:
http://lists.apple.com/archives/darwin-dev/2005/Sep/msg00011.html

Tom



More information about the Mono-devel-list mailing list