From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | thomas(at)pgsql(dot)com |
Cc: | lockhart(at)fourpalms(dot)org, Alexander Klimov <ask(at)wisdom(dot)weizmann(dot)ac(dot)il>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: Call for platforms |
Date: | 2001-03-27 00:09:38 |
Message-ID: | 1746.985651778@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> That is not already available from the Irix support code?
What we have for IRIX is
#if defined(__sgi)
/*
* SGI IRIX 5
* slock_t is defined as a unsigned long. We use the standard SGI
* mutex API.
*
* The following comment is left for historical reasons, but is probably
* not a good idea since the mutex ABI is supported.
*
* This stuff may be supplemented in the future with Masato Kataoka's MIPS-II
* assembly from his NECEWS SVR4 port, but we probably ought to retain this
* for the R3000 chips out there.
*/
#include "mutex.h"
#define TAS(lock) (test_and_set(lock,1))
#define S_UNLOCK(lock) (test_then_and(lock,0))
#define S_INIT_LOCK(lock) (test_then_and(lock,0))
#define S_LOCK_FREE(lock) (test_then_add(lock,0) == 0)
#endif /* __sgi */
Doesn't look to me like it's likely to work on anything but IRIX ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Michelle Murrain | 2001-03-27 00:41:22 | Re: Starting Postmaster |
Previous Message | Lee Harr | 2001-03-27 00:09:35 | Re: Patch (tiny): \cd (change dir) for psql. |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Shevland | 2001-03-27 00:37:35 | Possible large object bug? |
Previous Message | Mathijs Brands | 2001-03-27 00:05:34 | Re: Re: Call for platforms |