mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-22 01:34:56 +02:00
fix cancel test more.
git-svn-id: file:///svn/unbound/trunk@1463 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -300,7 +300,8 @@ ext_thread(void* arg)
|
||||
if(i > 100) {
|
||||
lock_basic_lock(&async_ids[i-100].lock);
|
||||
r = ub_cancel(inf->ctx, async_ids[i-100].id);
|
||||
async_ids[i-100].cancel=1;
|
||||
if(r != UB_NOID)
|
||||
async_ids[i-100].cancel=1;
|
||||
lock_basic_unlock(&async_ids[i-100].lock);
|
||||
if(r != UB_NOID)
|
||||
checkerr("ub_cancel", r);
|
||||
|
||||
Reference in New Issue
Block a user