Date: Sun, 21 Dec 2003 12:33:11 -0800 From: Alfred Perlstein <bright@mu.org> To: deischen@freebsd.org Cc: hackers@freebsd.org Subject: Re: support for __thread Message-ID: <20031221203311.GW60229@elvis.mu.org> In-Reply-To: <Pine.GSO.4.10.10312211507050.23814-100000@pcnet5.pcnet.com> References: <20031221135622.GU60229@elvis.mu.org> <Pine.GSO.4.10.10312211507050.23814-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Daniel Eischen <eischen@vigrid.com> [031221 12:08] wrote: > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > * Alfred Perlstein <bright@mu.org> [031221 02:47] wrote: > > > How do I get __thread to work for me? > > > > > > http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > > > > > it seems the assembler chokes on it? > > We don't have support for it yet. Why do you want it? .) it'd be nice to have it for future work .) linux seems to have it, so does MS but mostly: I'm porting webstone to use threads, and it uses that construct for the win32 threaded portion, it'd be really nice if we supported it so that I could make use of it instead of changing hundreds of lines of code. Any idea of how much effort it would take? I have no clue as to how to fix our toolchain, gooing the work in ld.so doesn't see that awful, but it's not trivial either: http://people.freebsd.org/~alfred/tls.pdf I want a threaded webstone so that I can generate a lot more load with wimpier client boxes on FreeBSD. Right now doing hundreds of connections nearly kills my desktop, but when threaded it barely hiccups. Also, in re: thread things: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/60477 :( -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221203311.GW60229>