This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add mutex locking for many-reader/1-writer
authorKarl Williamson <khw@cpan.org>
Wed, 12 Aug 2020 20:59:12 +0000 (14:59 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 27 Nov 2020 04:02:03 +0000 (21:02 -0700)
commit5640a370e8b19af74b8ca0b4694464c21a87916b
tree8c11e3449132afbcd92c70803cc72b020205f6f1
parentf33fd0ebdf4b707aa8a862633713f222d3edc422
Add mutex locking for many-reader/1-writer

The mutex macros already in perl are sufficient to allow us to emulate
this type of locking, which may also be available natively, but I don't
think it is worth the effort to use the native calls.
perl.h
thread.h