Skip to content

Commit

Permalink
States when they were introduced.
Browse files Browse the repository at this point in the history
Refs #2150. I'm not sure if this is it, so not closing it for now.
  • Loading branch information
JJ committed Jul 6, 2018
1 parent bf2974c commit f649193
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc/Type/atomicint.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
class atomicint is Int is repr('P6int') { }
An C<atomicint> is a native integer sized such that CPU-provided atomic
operations can be performed upon it. On a 32-bit CPU it will typically be
32 bits in size, and on an a 64-bit CPU it will typically be 64 bits in size.
It exists to allow writing portable code that uses atomic operations.
operations can be performed upon it. On a 32-bit CPU it will typically
be 32 bits in size, and on an a 64-bit CPU it will typically be 64 bits
in size. It exists to allow writing portable code that uses atomic
operations.
Please note that C<atomicint>s were introduced in Rakudo 2017.08.
# Would typically only work on a 64-bit machine and VM build.
my int64 $active = 0;
Expand Down

0 comments on commit f649193

Please sign in to comment.