Re: RTESys_TestAndLock/InitLock/Unlock on SunOS/ x86

Daniel Dittmar <[email protected]> Wed, 05 Feb 2003 23:34:46 +0100
Newsgroups gmane.comp.db.sapdb.sources
Organization SAP AG
Message-ID <[email protected]>
Döhr, Markus Hermeskeil wrote:
> Windows is using proprietary functions and linux is using either asm() too
> or some intel compiler specific stuff... Seems that I have to wait until
> someone can "transform" this into C (even if it's slower...)

I'm not sure it can be done in plain C because it tries to use some 
atomar assembler instruction. Isn't there some kind of 
comp.solaris.x86.developer where you can ask for advice? Or at least a 
compiler manual where you could look up the general format of inline 
assembler? The actual assembler should port alright from the linux 
version. It might just be that the instruction mnemonics and register 
names are different.


Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org