]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1219] Made HA MT compatible
authorFrancis Dupont <fdupont@isc.org>
Thu, 21 May 2020 11:15:33 +0000 (13:15 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 21 May 2020 11:15:33 +0000 (13:15 +0200)
src/hooks/dhcp/high_availability/ha.dox
src/hooks/dhcp/high_availability/ha_callouts.cc

index 0c2735517344f84d46a83e9860feefa42fe98221..25cea6584574ef26d32340d176de30c6d13de720 100644 (file)
@@ -409,8 +409,7 @@ Addressing this issue requires two enhancements:
 
 @section haMTCompatibility Multi-Threading Compatibility
 
-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 incompatibility.
+The High Availability hooks library currently it is compatible with
+multi-threading.
 
 */
index a1547d6a8d145d8a93400154b72db5590cd03475..88178901186dd18cdc2ca5a0db2e2bcebb4df821 100644 (file)
@@ -328,12 +328,9 @@ int unload() {
 
 /// @brief This function is called to retrieve the multi-threading compatibility.
 ///
-/// @note: this should be revisited as the library is not essentially
-/// incompatible.
-///
-/// @return 0 which means not compatible with multi-threading.
+/// @return 1 which means compatible with multi-threading.
 int multi_threading_compatible() {
-    return (0);
+    return (1);
 }
 
 } // end extern "C"