This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Changed how ownership of mutexes are held. We never hold a mutex only a slot indicati...
[perl5.git] / sharedsv.h
index 1dec854..f92a94a 100644 (file)
@@ -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;