We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f256e commit ed78d87Copy full SHA for ed78d87
lib/Type/Lock.pod
@@ -17,7 +17,10 @@ I<critical section>).
17
}
18
say $x; #
19
20
-High-level Perl 6 code should awoid the direct usage of locks, because they
+Locks are reentrant, that is, a thread that holds the lock can lock it again
21
+without blocking.
22
+
23
+High-level Perl 6 code should avoid the direct usage of locks, because they
24
are not composable. Instead, high-level constructs such as
25
L<Promise|/type/Promise>, L<Channel|/type/Channel> and Supply should be used
26
whenever possible.
0 commit comments