uwe
58f328b472
Add italic correction to _Atomic-qualified.
2020-10-09 19:41:02 +00:00
riastradh
a6e2e59435
Reword advice about when not to use membar_exit.
...
With help from skrll and pgoyette.
While here, change the example so it doesn't violate the advice just
given. Still not a great example -- abusing UINT_MAX for a reference
count is kinda sketchy, but it'll serve for now.
2020-10-09 17:36:16 +00:00
riastradh
ddc76b9234
Update membar_ops(3) man page with examples and relation to C11.
...
Add exhortation to always always always document how membars come in
pairs for synchronization between two CPUs when you use them.
2020-09-03 00:00:06 +00:00
riastradh
1ec67535be
Add missing MLINK for membar_datadep_consumer(3).
...
Detected by the indefatigable wizd.
2019-12-07 15:13:59 +00:00
dholland
d8a5b30306
atomic_and/atomic_or do bitwise ops, not logical ops.
2018-06-16 08:11:32 +00:00
martin
eaf667a162
Bump date for previous
2018-02-07 09:59:56 +00:00
martin
c778dbed18
Fix typo, from Eitan Adler.
2018-02-07 09:55:35 +00:00
abhinav
f71ab63ff2
Add membar_datadep_consumer to the NAME section
...
Remove Pp before Bl
2017-10-24 18:19:17 +00:00
dholland
8c87f52cc0
Add MLINKS for atomic_add_nv, atomic_cas_ni, and so forth - otherwise
...
you have to remember that they're the same page as plain atomic_add and
atomic_cas, or remember one of the types that they're defined on.
PR 51033.
2016-08-27 08:03:13 +00:00
riastradh
fe3ead6a42
Introduce membar_datadep_consumer.
...
Discussed briefly on tech-kern without objection:
https://mail-index.netbsd.org/tech-kern/2014/11/20/msg018054.html
https://mail-index.netbsd.org/tech-kern/2015/01/07/msg018326.html
2015-01-08 22:27:17 +00:00
dholland
7f6461e52c
bump date for previous
2014-02-02 18:06:33 +00:00
dholland
74b6f13039
Reorg second paragraph too, to group related info together.
2014-02-02 17:32:38 +00:00
dholland
61bb893049
Rework description for clarity; prompted by chat comments from bad@.
2014-02-02 17:30:06 +00:00
wiz
560b21b44e
Fix a typo.
2011-04-28 11:56:26 +00:00
jruoho
8e36ebc45f
Bump date for previous. (How hard can it be to remember this.)
2010-04-14 08:49:49 +00:00
jruoho
85eede30d6
Use subtitles instead of a list.
2010-04-14 08:47:19 +00:00
dyoung
20ecd150d5
Link atomic_cas.3 to atomic_cas_{32,64,ptr,uint,ulong}_ni.3.
2010-02-12 22:34:38 +00:00
dyoung
ba71f034aa
With help from rmind@, describe the non-interlocked (*_ni) variants of
...
the standard atomic compare-and-swap operations. Tell some caveats.
Manual page links, *_ni.3 -> atomic_cas.3 are coming up after a
successful 'build.sh distribution'.
2010-02-12 22:23:17 +00:00
wiz
ae1f36f738
Punctuation nit. Remove superfluous .Pp.
2009-05-18 12:40:21 +00:00
wiz
b18f60f11c
Fix typo in Dd argument. Remove superfluous .Pp.
2009-05-18 12:39:17 +00:00
wiz
6ece1e04b0
Fix typo in Dd argument.
2009-05-18 12:37:28 +00:00
ad
7a21650601
Install manual pages for the atomic ops.
2008-06-23 10:22:40 +00:00