Up to [local] / src / share / man / man9
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.3, Mon Feb 3 07:03:04 2014 UTC (10 years, 4 months ago) by dlg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 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.2 / (download) - annotate - [select for diffs], Thu Jan 30 08:16:56 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.1: +3 -4 lines
Diff to previous 1.1 (colored)
tweak previous;
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@