| To: | ralf@oss.sgi.com |
|---|---|
| Subject: | Re: patches for test-and-set without ll/sc (Re: thread-ready ABIs) |
| From: | Machida Hiroyuki <machida@sm.sony.co.jp> |
| Date: | Fri, 25 Jan 2002 13:39:16 +0900 |
| Cc: | kevink@mips.com, aj@suse.de, hjl@lucon.org, linux-mips@oss.sgi.com |
| In-reply-to: | <20020124105915.A838@dea.linux-mips.net> |
| References: | <005301c1a368$87d27ed0$10eca8c0@grendel> <20020123145634M.machida@sm.sony.co.jp> <20020124105915.A838@dea.linux-mips.net> |
| Sender: | owner-linux-mips@oss.sgi.com |
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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: MIPS/Linux NonSGI, Ralf Baechle |
|---|---|
| Next by Date: | Re: patches for test-and-set without ll/sc (Re: thread-ready ABIs), Kevin D. Kissell |
| Previous by Thread: | Re: patches for test-and-set without ll/sc (Re: thread-ready ABIs), Ralf Baechle |
| Next by Thread: | Re: patches for test-and-set without ll/sc (Re: thread-ready ABIs), Kevin D. Kissell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |