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