[Mono-list] Use of pthreads in io-layer/atomic.c (WAS: mono-0.11 on StrongARM)

Duraid Madina Duraid@unsw.edu.au
Sat, 27 Apr 2002 15:24:02 +1000 (EST)


Hi all,

	The pthread spinlock calls are less portable than you might think. I
tried building Mono on HP-UX 11.00 (GCC 3.1) and they were the first problem
I ran into.

	What do people think of developing Mono against GNU pth
( http://www.gnu.org/software/pth/ ) when configured with --enable-pthread ?
This is a nice and portable lowest common denominator implementation of
pthreads. (But yes, we'd have to do spinlocks ourselves.)

	Curious,

	Duraid