Skip to content

Commit

Permalink
more threading work
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Dec 25, 2024
1 parent 95a8f7e commit 1ac7ef8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/g2cinq.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *yea
{
G2C_MESSAGE_INFO_T *msg;
int ret = G2C_NOERROR;

/* Check input parameters. */
if (g2cid < 0 || g2cid > G2C_MAX_FILES)
return G2C_EBADID;
Expand Down Expand Up @@ -214,7 +214,7 @@ g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *yea
}
}
}

/* If using threading, unlock the mutex. */
MUTEX_UNLOCK(m);

Expand Down Expand Up @@ -433,7 +433,7 @@ g2c_inq_dim(int g2cid, int msg_num, int prod_num, int dim_num, size_t *len,
for (d = 0; d < dim->len; d++)
val[d] = dim->value[d];
}

/* If using threading, unlock the mutex. */
MUTEX_UNLOCK(m);

Expand Down

0 comments on commit 1ac7ef8

Please sign in to comment.