diff --git a/src/hooks/dhcp/flex_option/flex_option.dox b/src/hooks/dhcp/flex_option/flex_option.dox index 274b745a5b..3ff81f47a7 100644 --- a/src/hooks/dhcp/flex_option/flex_option.dox +++ b/src/hooks/dhcp/flex_option/flex_option.dox @@ -112,7 +112,7 @@ applied by the template @c process located in flex_option.h. When required the expression is evaluated on the query packet and the result is used by the action for instance to add a new option. -@section libdhcp_flex_optionMTCompatibility Multi-Threading Compaibility +@section libdhcp_flex_optionMTCompatibility Multi-Threading Compatibility The libdhcp_flex_option hooks library is compatible with multi-threading. diff --git a/src/hooks/dhcp/flex_option/flex_option_callouts.cc b/src/hooks/dhcp/flex_option/flex_option_callouts.cc index 2f3f88dd94..b6688e0362 100644 --- a/src/hooks/dhcp/flex_option/flex_option_callouts.cc +++ b/src/hooks/dhcp/flex_option/flex_option_callouts.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2019-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the End User License // Agreement. See COPYING file in the premium/ directory. @@ -122,7 +122,7 @@ int unload() { return (0); } -/// @brief This function is called to know the multi-threading compatibility. +/// @brief This function is called to retrieve the multi-threading compatibility. /// /// @return 1 which means compatible with multi-threading. int multi_threading_compatible() { diff --git a/src/hooks/dhcp/high_availability/ha.dox b/src/hooks/dhcp/high_availability/ha.dox index f905c135c4..0c27355173 100644 --- a/src/hooks/dhcp/high_availability/ha.dox +++ b/src/hooks/dhcp/high_availability/ha.dox @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -411,6 +411,6 @@ Addressing this issue requires two enhancements: The High Availability hooks library currently reports it is not compatible with multi-threading. This will be revisited as there is -no essential reason for such uncompatibility. +no essential reason for such incompatibility. */ diff --git a/src/hooks/dhcp/high_availability/ha_callouts.cc b/src/hooks/dhcp/high_availability/ha_callouts.cc index 0bffd99de2..b8e8da4a6e 100644 --- a/src/hooks/dhcp/high_availability/ha_callouts.cc +++ b/src/hooks/dhcp/high_availability/ha_callouts.cc @@ -303,10 +303,10 @@ int unload() { return (0); } -/// @brief This function is called to know the multi-threading compatibility. +/// @brief This function is called to retrieve the multi-threading compatibility. /// /// @note: this should be revisited as the library is not essentially -/// uncompatible. +/// incompatible. /// /// @return 0 which means not compatible with multi-threading. int multi_threading_compatible() { diff --git a/src/hooks/dhcp/lease_cmds/lease_cmds.dox b/src/hooks/dhcp/lease_cmds/lease_cmds.dox index b12f71dcc2..9c69e1c55c 100644 --- a/src/hooks/dhcp/lease_cmds/lease_cmds.dox +++ b/src/hooks/dhcp/lease_cmds/lease_cmds.dox @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -95,10 +95,9 @@ commands that remove all leases from specific subnet. As there were no queries that could retrieve or otherwise enumerate leases for a specific subnet, a new query type and a new index had to be added. -@section lease_cmdsTCompatibility Multi-Threading Compatibility +@section lease_cmdsMTCompatibility Multi-Threading Compatibility The Lease Commands Hook library is compatible with multi-threading. -All commands modifying leases are performed inside a critical section -i.e. with the DHCP server stopped. +All commands are executed inside a critical section, i.e. with threads stopped. */ diff --git a/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc b/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc index 02c1ec35fc..f261256213 100644 --- a/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc +++ b/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the End User License // Agreement. See COPYING file in the premium/ directory. @@ -284,7 +284,7 @@ int unload() { return (0); } -/// @brief This function is called to know the multi-threading compatibility. +/// @brief This function is called to retrieve the multi-threading compatibility. /// /// @return 1 which means compatible with multi-threading. int multi_threading_compatible() { diff --git a/src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc b/src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc index 7140621b6b..100b663081 100644 --- a/src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc +++ b/src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -45,7 +45,7 @@ int unload() { return (0); } -/// @brief This function is called to know the multi-threading compatibility. +/// @brief This function is called to retrieve the multi-threading compatibility. /// /// @note: the compatibility is based on the assumption this hook library /// is always called from the main thread. diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds.cc b/src/hooks/dhcp/stat_cmds/stat_cmds.cc index f99c7b7941..85c07436b3 100644 --- a/src/hooks/dhcp/stat_cmds/stat_cmds.cc +++ b/src/hooks/dhcp/stat_cmds/stat_cmds.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds.dox b/src/hooks/dhcp/stat_cmds/stat_cmds.dox index 34ac249ad2..f4f2db3b64 100644 --- a/src/hooks/dhcp/stat_cmds/stat_cmds.dox +++ b/src/hooks/dhcp/stat_cmds/stat_cmds.dox @@ -198,9 +198,8 @@ and DHCPv6 response might look like this: @section stat_cmdsMTCompatibility Multi-Threading Compatibility -The Stat Commands Hook library reports it is compatible with -multi-threading. All commands are executed inside a critical section, -i.e. with threads stopped. It makes sense to not have lease state -changes when taking lease counts. +The Stat Commands Hook library is compatible with multi-threading. +All commands are executed inside a critical section, i.e. with threads stopped. +It makes sense to not have lease state changes when retrieving lease counts. */ diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc b/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc index ea8026124f..480b7cb675 100644 --- a/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc +++ b/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the End User License // Agreement. See COPYING file in the premium/ directory. @@ -61,7 +61,7 @@ int unload() { return (0); } -/// @brief This function is called to know the multi-threading compatibility. +/// @brief This function is called to retrieve the multi-threading compatibility. /// /// @return 1 which means compatible with multi-threading. int multi_threading_compatible() { diff --git a/src/hooks/dhcp/user_chk/libdhcp_user_chk.dox b/src/hooks/dhcp/user_chk/libdhcp_user_chk.dox index 4b3534252a..84dc942901 100644 --- a/src/hooks/dhcp/user_chk/libdhcp_user_chk.dox +++ b/src/hooks/dhcp/user_chk/libdhcp_user_chk.dox @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -212,7 +212,7 @@ registered=yes Note the library always opens this file in append mode and does not limit its size. -@section libdhcp_user_chkMTCompatibility Multi-Threading Compaibility +@section libdhcp_user_chkMTCompatibility Multi-Threading Compatibility The user_chk hooks library does not define a multi_threading_compatible() C function so is considered as not compatible with multi-threading diff --git a/src/lib/hooks/library_manager.cc b/src/lib/hooks/library_manager.cc index 608c4c5910..b18dcbf92e 100644 --- a/src/lib/hooks/library_manager.cc +++ b/src/lib/hooks/library_manager.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/hooks/library_manager.h b/src/lib/hooks/library_manager.h index 14acf8a64d..ef31333589 100644 --- a/src/lib/hooks/library_manager.h +++ b/src/lib/hooks/library_manager.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/hooks/tests/full_callout_library.cc b/src/lib/hooks/tests/full_callout_library.cc index 8d3784d708..58ea8c77f4 100644 --- a/src/lib/hooks/tests/full_callout_library.cc +++ b/src/lib/hooks/tests/full_callout_library.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/hooks/tests/library_manager_unittest.cc b/src/lib/hooks/tests/library_manager_unittest.cc index 78f3c0cff0..7408c62841 100644 --- a/src/lib/hooks/tests/library_manager_unittest.cc +++ b/src/lib/hooks/tests/library_manager_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/lib/hooks/tests/load_error_callout_library.cc b/src/lib/hooks/tests/load_error_callout_library.cc index 26f0d9e2b6..66b1359031 100644 --- a/src/lib/hooks/tests/load_error_callout_library.cc +++ b/src/lib/hooks/tests/load_error_callout_library.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this