This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
split off the $0 setting so mutex use can be annotated
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 5 Nov 2015 23:15:35 +0000 (18:15 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 23 Nov 2015 11:55:12 +0000 (06:55 -0500)
commitf1540bedca12c5d2c59f2eedaac8042822183aca
tree68477fa9653baea6b82dde7e472d4cfe19a8702b
parentd88f7f65327a827e00ba021f9c6f474e64aa97b0
split off the $0 setting so mutex use can be annotated

No warnings were emitted since the use of the PL_dollarzero_mutex
was correctly bracketed by mutex lock and unlock, but by splitting
off the code and annotating it is more likely to stay correct.
mg.c