Re: LWLock/ShmemIndex startup question - Mailing list pgsql-hackers

From Manfred Spraul
Subject Re: LWLock/ShmemIndex startup question
Date
Msg-id 40041F1B.4070904@colorfullife.com
Whole thread Raw
In response to Re: LWLock/ShmemIndex startup question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: LWLock/ShmemIndex startup question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

>Claudio Natoli <claudio.natoli@memetrics.com> writes:
>  
>
>>Or, maybe we'll just use the tas() implementation that already exists for
>>__i386__/__x86_64__ in s_lock.h. How did I miss that?
>>Move along. Nothing to see here.
>>    
>>
>
>Actually, I was expecting you to complain that the s_lock.h coding is
>gcc-specific.  Which compilers do we need to support on Windows?
>  
>
I think intel's compiler supports the gcc syntax. At least the Linux 
version can compile the Linux kernel.
MSVC has it's own syntax that is very primitive, and AFAIK not supported 
by the 64-bit windows versions. The AMD64 version definitively doesn't 
support inline assembly at all.

What are the chances for Win64 support? sizeof(unsigned long) remains 4, 
sizeof(void*) is 8.

--   Manfred





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: LWLock/ShmemIndex startup question
Next
From: "Andrew Dunstan"
Date:
Subject: Re: LWLock/ShmemIndex startup question