{
#ifdef HAVE_PTHREAD
struct tevent_context *ev;
- int ret, wakeup_fd;
+ int ret;
ret = pthread_mutex_lock(&tctx->event_ctx_mutex);
if (ret != 0) {
}
ev = tctx->event_ctx;
- wakeup_fd = tctx->wakeup_fd;
ret = pthread_mutex_unlock(&tctx->event_ctx_mutex);
if (ret != 0) {
* than a noncontended one. So I'd opt for the lower footprint
* initially. Maybe we have to change that later.
*/
- tevent_common_wakeup_fd(wakeup_fd);
+ tevent_common_wakeup_fd(tctx->wakeup_fd);
#else
/*
* tevent_threaded_context_create() returned NULL with ENOSYS...