nvidia OpenGL and lib{thr,kse} related crash
Julian Elischer
julian at elischer.org
Mon Jun 16 16:06:58 PDT 2003
On Wed, 11 Jun 2003, Daniel Eischen wrote:
> On Wed, 11 Jun 2003, Matthew N. Dodd wrote:
>
> > On Thu, 12 Jun 2003, Alexander Nedotsukov wrote:
> > > Does some one know any nvidia developer to point them out on this fact?
> >
> > The NVIDIA drivers uses %gs for TLS.
Ugghh!
Can you be more specific about this?
when you say "driver", do you mean a kernel driver or a userland
program.
I assume it's a userland pseudo-driver that links with pthreads to
achieve its threads?
Geez. why don't they use the per-thread-storage that the library
provides?
What makes them think that %gs is free? I think that linux will start
using %gs for the TLS too as well soon.
It's used for Thread-local-storage in the pthreads library too,
so they trash each other's TLS.
do they allocate LDT entries to back their own storage?
>
> That makes them pretty much useless in -current, especially since
> libc_r is on the way out.
>
> One wonders why they use pthread_key_create() et al, and still
> need TLS.
>
> > I suppose I should have mentioned this.
>
> Probably :-)
>
> --
> Dan Eischen
>
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>
More information about the freebsd-threads
mailing list