On Mon, Mar 10, 2014 at 8:38 AM, Martin Husemann <mar...@homeworld.netbsd.org> wrote: > On Sun, Mar 09, 2014 at 11:01:11PM +0000, Justin Cormack wrote: >> Module Name: src >> Committed By: justin >> Date: Sun Mar 9 23:01:11 UTC 2014 >> >> Modified Files: >> src/lib/librumpuser: rumpuser_pth.c >> >> Log Message: >> Use __thread rather than pthread_getspecific for rumpuser curlwp. >> This has better performance and curlwp is a performance bottleneck >> in rump kernel code. > > You can't do this, it breaks the build on non TLS supporting platforms.
Argh sorry. Will make it conditional on TLS support. I misread the gcc docs. Justin