From 1df46b2d9ff92a3b4815045790ad72480a0348ac Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 16 Feb 2016 02:46:30 -0500 Subject: [PATCH] Fixes to cond_var --- include/cyclone/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cyclone/types.h b/include/cyclone/types.h index a315735b..d51a9cdd 100644 --- a/include/cyclone/types.h +++ b/include/cyclone/types.h @@ -226,7 +226,7 @@ typedef struct {gc_header_type hdr; tag_type tag; pthread_mutex_t lock;} mutex_t typedef mutex_type *mutex; /* Define condition variable type */ -typedef struct {gc_header_type hdr; tag_type tag; pthread_cond_t lock;} cond_var_type; +typedef struct {gc_header_type hdr; tag_type tag; pthread_cond_t cond;} cond_var_type; typedef cond_var_type *cond_var; /* Define boolean type. */