~ubuntu-branches/ubuntu/wily/ck/wily

« back to all changes in this revision

Viewing changes to doc/ck_pr_stall

  • Committer: Package Import Robot
  • Author(s): Daniel Pocock
  • Date: 2014-09-10 22:16:03 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140910221603-bozg1pm8y27b76us
Tags: 0.4.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
.Ft void
37
37
.Fn ck_pr_stall void
38
38
.Sh DESCRIPTION
39
 
The 
 
39
The
40
40
.Fn ck_pr_stall 3
41
 
function should be used inside retry paths of busy-wait loops. 
 
41
function should be used inside retry paths of busy-wait loops.
42
42
It not only serves as a compiler barrier, but on some architectures
43
43
it emits cycle-saving instructions.
44
44
.Sh EXAMPLE
71
71
.Xr ck_pr_faa 3 ,
72
72
.Xr ck_pr_inc 3 ,
73
73
.Xr ck_pr_dec 3 ,
74
 
.Xr ck_pr_neg 3 , 
 
74
.Xr ck_pr_neg 3 ,
75
75
.Xr ck_pr_not 3 ,
76
76
.Xr ck_pr_add 3 ,
77
77
.Xr ck_pr_sub 3 ,