Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 07:13:15 +0200
From:      David Ayers <d.ayers@inode.at>
To:        Pascal Hofstee <caelian@gmail.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: [PATCH] Re: GNUstep, libobjc and threading
Message-ID:  <42DB3A6B.90309@inode.at>
In-Reply-To: <1121662853.701.10.camel@synergy.charterpipeline.net.lan>
References:  <1121453983.672.15.camel@synergy.charterpipeline.net.lan> <1121662853.701.10.camel@synergy.charterpipeline.net.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Pascal Hofstee schrieb:
> On Fri, 2005-07-15 at 12:00 -0700, Pascal Hofstee wrote:
> 
> I just realized it may be possible to do the whole _thr_initial dance
> inside the actual _get_curthread() function ... if that turns out to be
> the case .. perhaps that location would be more suitable than this
> 'stopgap'.

FWIW, personally I think your patch is the correct approach.  Putting
the initialization in _get_curthread() may be a 'stopgap' but it may hit
the performance unduly.  In the case of the API functions, I believe the
correctness issue trumps performance issues.

Cheers,
David Ayers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DB3A6B.90309>