Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 15:08:32 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/lib/libthr/arch/alpha/alpha _curthread.c
Message-ID:  <XFMail.20030724150832.jhb@FreeBSD.org>
In-Reply-To: <200307240751.h6O7pnsd085577@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030724150832.jhb>