[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

Particularly interesting is Paolo Molaro in here:


More information about the Mono-devel-list mailing list