diff options
author | Artur Bergman <sky@nanisky.com> | 2001-10-24 11:06:35 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-10-24 11:06:35 +0000 |
commit | 55fc11ad574fdface3f93a0c10965511fdcfd69b (patch) | |
tree | b64a952ebff3af0e9e9c0f52f78534a381015899 /sharedsv.c | |
parent | 8eb28a70b2ec19f2782a68fd1ccf1a9a24131140 (diff) | |
download | perl-55fc11ad574fdface3f93a0c10965511fdcfd69b.tar.gz |
We only need to fetch the SV from the backend if the index
is not the same as mg_private. In theory this could be
a problem if there are an exact multiple of U16 changes
of a shared variable between two access in a given thread,
we choose to avoid theory for now.
p4raw-id: //depot/perl@12616
Diffstat (limited to 'sharedsv.c')
-rw-r--r-- | sharedsv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sharedsv.c b/sharedsv.c index 0deabb23ab..dde1153290 100644 --- a/sharedsv.c +++ b/sharedsv.c @@ -68,6 +68,7 @@ Perl_sharedsv_new(pTHX) COND_INIT(&ssv->user_cond); ssv->owner = 0; ssv->locks = 0; + ssv->index = 0; return ssv; } |