diff options
Diffstat (limited to 'src/threading.c')
-rw-r--r-- | src/threading.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threading.c b/src/threading.c index 4e3d8f6..22d18d4 100644 --- a/src/threading.c +++ b/src/threading.c | |||
@@ -698,6 +698,7 @@ static void prepare_timeout( struct timespec *ts, time_d abs_secs ) { | |||
698 | /* Since we've set the thread up as PTHREAD_CREATE_DETACHED, we cannot | 698 | /* Since we've set the thread up as PTHREAD_CREATE_DETACHED, we cannot |
699 | * join with it. Use the cond.var. | 699 | * join with it. Use the cond.var. |
700 | */ | 700 | */ |
701 | (void) ref; // unused | ||
701 | MUTEX_LOCK( mu_ref ); | 702 | MUTEX_LOCK( mu_ref ); |
702 | 703 | ||
703 | // 'secs'==0.0 does not need to wait, just take the current status | 704 | // 'secs'==0.0 does not need to wait, just take the current status |