diff options
author | Artur Bergman <sky@nanisky.com> | 2001-09-18 10:24:31 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-09-18 10:24:31 +0000 |
commit | 39696b0cdb512c61354df443d2f0b56bef0d4d8b (patch) | |
tree | 1d91a85d58531f9e4231cdfebcb8af8ce4244bd6 /sharedsv.h | |
parent | 6275698708d25f5dab8a4495910263deacde43b5 (diff) | |
download | perl-39696b0cdb512c61354df443d2f0b56bef0d4d8b.tar.gz |
Changed how ownership of mutexes are held. We never hold a mutex only a slot indicating that we own the lock.
p4raw-id: //depot/perl@12066
Diffstat (limited to 'sharedsv.h')
-rw-r--r-- | sharedsv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sharedsv.h b/sharedsv.h index 1dec85461b..f92a94a08e 100644 --- a/sharedsv.h +++ b/sharedsv.h @@ -5,6 +5,7 @@ typedef struct { SV* sv; /* The actual data */ perl_mutex mutex; /* Our mutex */ perl_cond cond; /* Our condition variable */ + perl_cond user_cond; /* For user level conditions */ IV locks; /* Number of locks held */ PerlInterpreter* owner; /* who owns the lock */ } shared_sv; |