Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 09:34:58 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Peter Wemm <peter@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libthr/arch/i386/i386 pthread_md.c src/lib/libthr/arch/i386/include         pthread_md.h
Message-ID:  <425DC8C2.6030805@freebsd.org>
In-Reply-To: <200504140044.j3E0i7iw099705@repoman.freebsd.org>
References:  <200504140044.j3E0i7iw099705@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote:

>peter       2005-04-14 00:44:07 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    lib/libthr/arch/i386/i386 pthread_md.c 
>    lib/libthr/arch/i386/include pthread_md.h 
>  Log:
>  Adapt the libpthread patch for using i386_set_gsbase() to libthr.
>  
>  Revision  Changes    Path
>  1.2       +33 -14    src/lib/libthr/arch/i386/i386/pthread_md.c
>  1.2       +8 -2      src/lib/libthr/arch/i386/include/pthread_md.h
>
>  
>
Good work! I don't care if libthr can run on old kernel because the new 
libthr can not
run on RELENG-5 kernel. One thing I would like to do is creating thread 
in atomic,
current, a thread is created with its TLS pointer is at uninitialized 
state, so when first
userland function runs, it has to setup TLS in userland, this makes 
diffculty to
to .mcount and rtld if they wants to access per-thread data.

David Xu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425DC8C2.6030805>