Skip to content

Commit 044584e

Browse files
committed
Update type links
1 parent cde810e commit 044584e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/concurrency.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,14 +831,14 @@ the critical section the code should be as quick as possible.
831831
=head2 Lock::Async
832832

833833
L<C<Lock::Async>|/type/Lock::Async> is a mutual exclusion mechanism much like
834-
Lock, but it exposes its functionality through C<Promise>s, allowing the use of
834+
Lock, but it exposes its functionality through L<C<Promise>|/type/Promise>s, allowing the use of
835835
C<await> when waiting for a lock to become available, instead of blocking an
836836
entire thread.
837837

838838
Another difference is that it is not re-entrant, meaning that the lock is not
839839
considered available to code that is C<protect>ed by the lock.
840840

841-
C<Lock::Async> is more high-level than C<Lock>, but it is still considered a
841+
L<C<Lock::Async>|/type/Lock::Async> is more high-level than L<C<Lock>|/type/Lock>, but it is still considered a
842842
low-level primitive. Higher-level primitives should be preferred over mutating
843843
shared data inside critical sections.
844844

0 commit comments

Comments
 (0)