From e19a1ced3002a54e543519ed6bf1694260a98cc2 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 15 Jan 2015 12:50:10 +0100 Subject: [PATCH] we actually deliver MTasker timeouts with the wrong d_tid set. Unknown if this matters anywhere, but it was wrong in any case. --- pdns/mtasker.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/mtasker.cc b/pdns/mtasker.cc index 605af28813..f92685451b 100644 --- a/pdns/mtasker.cc +++ b/pdns/mtasker.cc @@ -330,6 +330,7 @@ templatebool MTasker::schedule(struct timeval* n d_waitstatus=TimeOut; d_eventkey=i->key; // pass waitEvent the exact key it was woken for ucontext_t* uc = i->context; + d_tid = i->tid; ttdindex.erase(i++); // removes the waitpoint if(swapcontext(&d_kernel, uc)) { // swaps back to the above point 'A' -- 2.47.2