Re: Re: Call for platforms

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: thomas@pgsql.com
Cc: lockhart@fourpalms.org, Alexander Klimov <ask@wisdom.weizmann.ac.il>, pgsql-hackers@postgresql.org
Date: 2001-03-26T23:35:59Z
Lists: pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
>> Anyway, the last CVS update to port/ultrix.h that appears to have come
>> from someone actually using Ultrix was rev 1.2 on 7-May-97, which
>> predates the very existence of s_lock.h as a separate file.  So I'd
>> definitely advise Alexander to find a tarball from that era and look at
>> how Ultrix was handled then.
>> I dunno if we even have tarballs from that far back on-line ... I
>> suppose another possibility is a date-based pull from the CVS server.

> What can we help with Alex?

After digging around in the old code I have to retract my opinion that
a test-and-set implementation used to exist for MIPS.  The code did
have SysV-semaphore-based support for machines without test-and-set,
and undoubtedly that's what was used on the old Ultrix port.  (The
non-test-and-set code was broken for awhile, but I'd forgotten that
it formerly worked.)

The non-test-and-set case should work again in current CVS, and I'd
appreciate it if Alexander would verify that.  But as far as getting
some test-and-set support for MIPS goes, it looks like the only way
is for someone to sit down with a MIPS assembly manual.  I haven't
got one, nor access to a machine to test on...

			regards, tom lane