[Mono-list] difference between __thread and pthread mode

Paolo Molaro lupus@ximian.com
Mon, 14 Feb 2005 13:55:36 +0100


On 02/14/05 Hubert FONGARNAND wrote:
> I've a nptl enable libc (gentoo)
[...]
> What's the better to use when I compile mono : --with-tls=pthread or 
> --with-tls=__thread?

On properly compiled distributions __thread is preferable, since it's
faster.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better