cvs commit: src/lib/libthr/arch/alpha/alpha _curthread.c

John Baldwin jhb at FreeBSD.org
Thu Jul 24 12:08:21 PDT 2003


On 24-Jul-2003 Marcel Moolenaar wrote:
> marcel      2003/07/24 00:51:49 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libthr/arch/alpha/alpha _curthread.c 
>   Log:
>   Implement _get_curthread and _set_curthread. We use GCCs builtin
>   function this, which expands to PAL calls (rduniq and wruniq).
>   This needs adjustment when TLS is implemented.

This trashes SMP since we use the per-CPU unique value already
to maintain the per-cpu data pointer.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list