How do acq and rel work?

From: Ravi g <>
Date: 2003-08-03 07:55:27
Hi everybody,
          Im just fiddling with critical regions in
assembly. From what i have seen from intel
documentation you can make a critical region by
enclosing it between .acq and .rel instructions.
          But it looks like with these instructions
you have to set a flag as a side-effect and check for
the flag status every time you want to enter the
critical region. Is that how they work? or are there
other ways of doing it.
And finally can somebody point out good links to
implementing semaphores and like in itanium.

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sat Aug 2 17:56:20 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST