Port-alpha archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: __atomic_test_and_set() and mips o32 - help wanted
> On Nov 21, 2025, at 11:28 AM, Maciej W. Rozycki <macro%orcam.me.uk@localhost> wrote:
>
> Well, why not; go for it if you have the resources, it seems to me like
> an interesting project!
NetBSD already implements this in libc for the atomic(3) functions, and the pthread library also uses it for mutex operations on non-MP systems. That’s sort of my point, it’s a thing that already exists in the system that’s been in use for years now.
Here’s Greg McGarry’s paper on the NetBSD implementation from 2003:
https://www.usenix.org/legacy/publications/library/proceedings/usenix03/tech/freenix03/full_papers/mcgarry/mcgarry.pdf
-- thorpej
Home |
Main Index |
Thread Index |
Old Index