Hi Phil,

        Tho i know nothing about SpinLock but i see two small issues.  You have 
the namespaces reverse and the memory location is a uint not a void *.

Regards,
        Ásgeir Halldórsson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Garcia
Sent: 2. mars 2008 10:46
To: sharpos-developers@lists.sourceforge.net
Subject: [SharpOS Developers] SpinLock


Can someone code review my spinlock implementation?

https://sharpos.svn.sourceforge.net/svnroot/sharpos/sandbox/tgiphil/trunk/Ke
rnel/Core/ADC/SpinLock.cs

It seems simple, except for the use of the ASM.LABEL() method. Did I do this
correctly?

- Phil



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to