OpenBSD CVS

CVS log for src/share/man/man9/Attic/atomic_add.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.2, Mon Feb 3 07:03:04 2014 UTC (10 years, 4 months ago) by dlg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
FILE REMOVED

rename the atomic_foo manpages to atomic_foo_int or _uint cos we name these
after functions. for reasons.

reminded by jmc@

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 30 00:44:20 2014 UTC (10 years, 4 months ago) by dlg
Branch: MAIN

add an MI api for atomic ops in the kernel. this api has its origins in
solaris, but we found it via netbsd.

this provides an MI implementation by using gccs atomic builtins. if an
arch wants to provide a better implementation it can simply provide the
specific bit of the api it wants to replace as a macro.

we're being conservative with this API and only providing it in the
kernel, and only for uints, ulongs, and pointers.

discussed at n2k14 and with hackers at length.
ok kettenis@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.