When we copy things out of a hash and increment the
authorArtur Bergman <sky@nanisky.com>
Sun, 26 Jan 2003 22:37:21 +0000 (22:37 +0000)
committerArtur Bergman <sky@nanisky.com>
Sun, 26 Jan 2003 22:37:21 +0000 (22:37 +0000)
commitb747d46a2a9b2369f2eba3e795bd8d6856597ace
treef9d8ab8106fa5fda907bc4d8bd9f240d99699fb6
parent667208dd2ec490b5ca4e1ceb577d012f9d91a397
When we copy things out of a hash and increment the
refcount of the shared scalar, we really must protect
that refcount increase with a lock, or else it might not
happen. Fixes segfault when objects would prematurely
be killed.

p4raw-id: //depot/perl@18593
ext/threads/shared/shared.xs