On 23 October 2012 13:00, Paolo Bonzini <pbonz...@redhat.com> wrote: > It does support pthread_get/setspecific, but it didn't support something > else so the qemu-tls.h variant that used pthread_get/setspecific didn't > work either. > > And it doesn't support sigaltstack in threads, so it's the only platform > where the gthread-based coroutines are used. Those are buggy because > the coroutines tend to get random signal masks.
MacOS uses the gthread version too. In fact anything that doesn't doesn't use makecontext will use gthread -- you won't get the sigaltstack version unless you explicitly ask configure for it. [insert usual rant here about what a bad idea coroutines are] -- PMM