Skip to content

Commit 99cd781

Browse files
author
Jan-Olof Hendig
committed
Make atomic subs searchable
1 parent 761ee2d commit 99cd781

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/Type/atomicint.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ must be used in conjunction with the atomic operations.
4444
4545
=head1 Routines
4646
47-
=head2 atomic-assign
47+
=head2 sub atomic-assign
4848
4949
Defined as:
5050
@@ -59,7 +59,7 @@ silently truncated. The C<atomic-assign> routine ensures that any required
5959
barriers are performed such that the changed value will be "published" to
6060
other threads.
6161
62-
=head2 atomic-fetch
62+
=head2 sub atomic-fetch
6363
6464
Defined as:
6565
@@ -85,7 +85,7 @@ It would be legal for a compiler to observe that C<$i> is not updated in the
8585
loop, and so lift the read out of the loop, thus causing the program to never
8686
terminate.
8787
88-
=head2 atomic-fetch-inc
88+
=head2 sub atomic-fetch-inc
8989
9090
Defined as:
9191
@@ -96,7 +96,7 @@ hardware-provided atomic operations. Since the operation is atomic, it is safe
9696
to use without acquiring a lock. Returns the value as seen before incrementing
9797
it. Overflow will wrap around silently.
9898
99-
=head2 atomic-fetch-dec
99+
=head2 sub atomic-fetch-dec
100100
101101
Defined as:
102102
@@ -107,7 +107,7 @@ hardware-provided atomic operations. Since the operation is atomic, it is safe
107107
to use without acquiring a lock. Returns the value as seen before decrementing
108108
it. Overflow will wrap around silently.
109109
110-
=head2 atomic-fetch-add
110+
=head2 sub atomic-fetch-add
111111
112112
Defined as:
113113
@@ -122,7 +122,7 @@ unbox to a 64-bit integer, an exception will be thrown. If C<$value> otherwise
122122
overflows C<atomicint> then it will be silently truncated before the addition
123123
is performed.
124124
125-
=head2 atomic-fetch-sub
125+
=head2 sub atomic-fetch-sub
126126
127127
Defined as:
128128
@@ -137,7 +137,7 @@ too big to unbox to a 64-bit integer, an exception will be thrown. If C<$value>
137137
otherwise overflows C<atomicint> then it will be silently truncated before the
138138
subtraction is performed.
139139
140-
=head2 cas
140+
=head2 sub cas
141141
142142
Defined as:
143143

0 commit comments

Comments
 (0)