diff options
author | ru <ru@FreeBSD.org> | 2002-01-17 15:57:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-01-17 15:57:43 +0000 |
commit | 27af5a5a040400edd6619f4b46a312300e4edcbc (patch) | |
tree | 6bd84f3ddd170bd8678ab8350157b00c6b95f2a0 /share/man/man9 | |
parent | 8c0a609962e301459cbcbb6177817093b2280d6b (diff) | |
download | FreeBSD-src-27af5a5a040400edd6619f4b46a312300e4edcbc.zip FreeBSD-src-27af5a5a040400edd6619f4b46a312300e4edcbc.tar.gz |
mdoc(7) police: removed raw troff from previous delta.
Objected to by: mpp, jhb
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/atomic.9 | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index 0980f2b..66aef3b 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -39,31 +39,26 @@ .Sh SYNOPSIS .In sys/types.h .In machine/atomic.h -.\" XXX -.ds LB \f[R]\(lB\f[P] -.ds RB \f[R]\(rB\f[P] -.ds La \f[R]\(la\f[P] -.ds Ra \f[R]\(ra\f[P] .Ft void -.Fn atomic_add_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_add_[acq_|rel_]<type> "volatile <type> *p" "<type> v" .Ft void -.Fn atomic_clear_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_clear_[acq_|rel_]<type> "volatile <type> *p" "<type> v" .Ft int -.Fo atomic_cmpset_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] -.Fa "volatile \*[La]type\*[Ra] *dst" -.Fa "\*[La]type\*[Ra] old" -.Fa "\*[La]type\*[Ra] new" +.Fo atomic_cmpset_[acq_|rel_]<type> +.Fa "volatile <type> *dst" +.Fa "<type> old" +.Fa "<type> new" .Fc -.Ft \*[La]type\*[Ra] -.Fn atomic_load_acq_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" -.Ft \*[La]type\*[Ra] -.Fn atomic_readandclear_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" +.Ft <type> +.Fn atomic_load_acq_<type> "volatile <type> *p" +.Ft <type> +.Fn atomic_readandclear_<type> "volatile <type> *p" .Ft void -.Fn atomic_set_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_set_[acq_|rel_]<type> "volatile <type> *p" "<type> v" .Ft void -.Fn atomic_subtract_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_subtract_[acq_|rel_]<type> "volatile <type> *p" "<type> v" .Ft void -.Fn atomic_store_rel_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_store_rel_<type> "volatile <type> *p" "<type> v" .rm LB RB La Ra .Sh DESCRIPTION Each of the atomic operations is guaranteed to be atomic in the presence of |