Date: Thu, 07 Dec 2000 16:15:05 -0500 From: Dan Eischen <eischen@vigrid.com> To: smp@freebsd.org Subject: Userland atomic assignments Message-ID: <3A2FFDD9.F17C1165@vigrid.com>
next in thread | raw e-mail | index | archive | help
What kind of atomic operations can we get in userland? If I have a singly linked list, where nodes are only added to the head or the tail and they are never removed, can I walk the list without fear of catching a bad head or node->next (when I'm at the end of the list) pointer? In other words, can I get an atomic_set_ptr() operation on each platform? I can also see the need for an atomic_set_int32() operation. Thanks, -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2FFDD9.F17C1165>