mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
be consistent in how ISC_PLATFORM_USETHREADS is defined and used
This commit is contained in:
@@ -9283,7 +9283,7 @@ dns_zone_markdirty(dns_zone_t *zone) {
|
|||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
UNLOCK_ZONE(zone);
|
UNLOCK_ZONE(zone);
|
||||||
secure = NULL;
|
secure = NULL;
|
||||||
#if ISC_PLATFORM_USETHREADS
|
#ifdef ISC_PLATFORM_USETHREADS
|
||||||
isc_thread_yield();
|
isc_thread_yield();
|
||||||
#endif
|
#endif
|
||||||
goto again;
|
goto again;
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
***** Platform-dependent defines.
|
***** Platform-dependent defines.
|
||||||
*****/
|
*****/
|
||||||
|
|
||||||
#define ISC_PLATFORM_USETHREADS
|
#define ISC_PLATFORM_USETHREADS 1
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Network.
|
*** Network.
|
||||||
|
Reference in New Issue
Block a user