This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Code in wait4pid was calling hv_delete with the hash iterator
authorNicholas Clark <nick@ccl4.org>
Tue, 25 Oct 2005 12:54:18 +0000 (12:54 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 25 Oct 2005 12:54:18 +0000 (12:54 +0000)
commit7b9a32411c4ec6251e6f3ab9bb69dd43222d7692
tree00db887945a5e94bc32b119a07b1ab42aea7934f
parent28ffa55a57d1b19a5f4e472983f2acf8c7c075ab
Code in wait4pid was calling hv_delete with the hash iterator
currently on that entry. On aggregate this does more work, beacuse
the next call to hv_iterinit() would spot the flag, and have to call
the delete routine, while in the meantime any new entries can't
re-use that memory.

p4raw-id: //depot/perl@25848
util.c