@@ -44,7 +44,7 @@ must be used in conjunction with the atomic operations.
44
44
45
45
= head1 Routines
46
46
47
- = head2 atomic-assign
47
+ = head2 sub atomic-assign
48
48
49
49
Defined as:
50
50
@@ -59,7 +59,7 @@ silently truncated. The C<atomic-assign> routine ensures that any required
59
59
barriers are performed such that the changed value will be "published" to
60
60
other threads.
61
61
62
- = head2 atomic-fetch
62
+ = head2 sub atomic-fetch
63
63
64
64
Defined as:
65
65
@@ -85,7 +85,7 @@ It would be legal for a compiler to observe that C<$i> is not updated in the
85
85
loop, and so lift the read out of the loop, thus causing the program to never
86
86
terminate.
87
87
88
- = head2 atomic-fetch-inc
88
+ = head2 sub atomic-fetch-inc
89
89
90
90
Defined as:
91
91
@@ -96,7 +96,7 @@ hardware-provided atomic operations. Since the operation is atomic, it is safe
96
96
to use without acquiring a lock. Returns the value as seen before incrementing
97
97
it. Overflow will wrap around silently.
98
98
99
- = head2 atomic-fetch-dec
99
+ = head2 sub atomic-fetch-dec
100
100
101
101
Defined as:
102
102
@@ -107,7 +107,7 @@ hardware-provided atomic operations. Since the operation is atomic, it is safe
107
107
to use without acquiring a lock. Returns the value as seen before decrementing
108
108
it. Overflow will wrap around silently.
109
109
110
- = head2 atomic-fetch-add
110
+ = head2 sub atomic-fetch-add
111
111
112
112
Defined as:
113
113
@@ -122,7 +122,7 @@ unbox to a 64-bit integer, an exception will be thrown. If C<$value> otherwise
122
122
overflows C < atomicint > then it will be silently truncated before the addition
123
123
is performed.
124
124
125
- = head2 atomic-fetch-sub
125
+ = head2 sub atomic-fetch-sub
126
126
127
127
Defined as:
128
128
@@ -137,7 +137,7 @@ too big to unbox to a 64-bit integer, an exception will be thrown. If C<$value>
137
137
otherwise overflows C < atomicint > then it will be silently truncated before the
138
138
subtraction is performed.
139
139
140
- = head2 cas
140
+ = head2 sub cas
141
141
142
142
Defined as:
143
143
0 commit comments