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 Fri, 21 Nov 2025, Jason Thorpe 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.
Hmm, so where does the original issue reported with this thread come
from? It seems like something that should have been long sorted.
> 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
Thank you for this reference and all the insights. It has been an
interesting discussion for me.
Maciej
Home |
Main Index |
Thread Index |
Old Index