Re: segfault on x86_64 using musl libc

  • From: Florian Weimer <fw@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 17 Jul 2012 19:30:01 +0200

* John Spencer:

> Rich came up with a clever portable (POSIX) way that could be used instead
> of the existing non-threadsafe fallback code for OSX/OpenBSD/non-TLS.

__thread has vastly different performance characters compared to
pthread_getspecific.  It does not matter in this particular case, but
it's hardly as superfluous as claimed.

Other related posts: