aboutsummaryrefslogtreecommitdiff
path: root/multi.h
diff options
context:
space:
mode:
Diffstat (limited to 'multi.h')
-rw-r--r--multi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/multi.h b/multi.h
index ad26c12..585d0d5 100644
--- a/multi.h
+++ b/multi.h
@@ -56,7 +56,6 @@ struct multi_reap
struct multi_instance {
struct schedule_entry se; /* this must be the first element of the structure */
struct gc_arena gc;
- MUTEX_DEFINE (mutex);
bool defined;
bool halt;
int refcount;
@@ -274,7 +273,6 @@ multi_instance_dec_refcount (struct multi_instance *mi)
if (--mi->refcount <= 0)
{
gc_free (&mi->gc);
- mutex_destroy (&mi->mutex);
free (mi);
}
}