Files
bind9/lib/dns
Ondřej Surý b5bf58b419 Destroy netmgr before destroying taskmgr
With taskmgr running on top of netmgr, the ordering of how the tasks and
netmgr shutdown interacts was wrong as previously isc_taskmgr_destroy()
was waiting until all tasks were properly shutdown and detached.  This
responsibility was moved to netmgr, so we now need to do the following:

  1. shutdown all the tasks - this schedules all shutdown events onto
     the netmgr queue

  2. shutdown the netmgr - this also makes sure all the tasks and
     events are properly executed

  3. Shutdown the taskmgr - this now waits for all the tasks to finish
     running before returning

  4. Shutdown the netmgr - this call waits for all the netmgr netievents
     to finish before returning

This solves the race when the taskmgr object would be destroyed before
all the tasks were finished running in the netmgr loops.
2021-05-07 14:28:30 -07:00
..
2021-05-05 11:13:19 +02:00
2021-01-19 10:12:40 +01:00
2021-04-19 14:32:40 +10:00
2020-11-25 08:25:29 +11:00
2020-11-11 12:53:23 -03:00
2021-01-29 12:07:38 +01:00
2021-02-23 09:16:48 +01:00
2021-05-05 11:13:19 +02:00
2020-09-30 13:24:29 +00:00
2020-12-01 10:46:58 +11:00
2020-12-08 18:36:23 +01:00
2020-11-11 12:53:23 -03:00
2020-11-11 12:53:23 -03:00
2021-04-30 11:18:38 +02:00
2021-05-05 11:23:53 +02:00
2021-01-28 11:07:03 +11:00