From: Ralf Baechle <ralf@oss.sgi.com> Subject: Re: patches for test-and-set without ll/sc (Re: thread-ready ABIs) Date: Thu, 24 Jan 2002 10:59:15 -0800 > There is a method for mutual exclusion called Dekker's Algorithem (sp?) > which only requires just atomic stores and can be implemented in plain > C. Downside is it's weak performance that renders it pretty much a CS > only thing. Dekker's Algorithem and Lamport's Algorithm are not match for test_and_set() interface in glibc. In test_and_set(), mutex var is INT, but those algorimths need to share addtional variables. --- Hiroyuki Machida Sony Corp.