]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Experiment: brutally remove locking in isc_result wpk-resolver-tasks-bound
authorWitold Kręcicki <wpk@isc.org>
Thu, 22 Nov 2018 11:21:12 +0000 (11:21 +0000)
committerWitold Kręcicki <wpk@isc.org>
Thu, 22 Nov 2018 11:21:12 +0000 (11:21 +0000)
lib/isc/result.c

index 4920a98be7719ea6ae3f0d045d4804b5419263e7..fe1c2d5f68a7e1eea4c955aed1a599ab13a16715 100644 (file)
@@ -257,8 +257,6 @@ isc_result_tomany_helper(resulttable_list_t *tables, isc_result_t result) {
 
        initialize();
 
-       LOCK(&lock);
-
        text = NULL;
        for (table = ISC_LIST_HEAD(*tables);
             table != NULL;
@@ -280,8 +278,6 @@ isc_result_tomany_helper(resulttable_list_t *tables, isc_result_t result) {
                text = isc_msgcat_get(isc_msgcat, ISC_RESULT_UNAVAILABLESET,
                                      1, "(result code text not available)");
 
-       UNLOCK(&lock);
-
        return (text);
 }