]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: 'newThread()' and co were actually introduced in 1.8 12071/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Oct 2022 15:45:57 +0000 (17:45 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Oct 2022 15:45:57 +0000 (17:45 +0200)
And not in 1.7.0 as the documentation was stating.

pdns/dnsdistdist/docs/reference/config.rst

index 767604da95e4257ad639e12c990f92de34120a9d..34cc7caa4db46ef65525bd31692c0e20a98b1ef7 100644 (file)
@@ -1690,13 +1690,13 @@ Other functions
 
 .. function:: threadmessage(cmd, dict)
 
-  .. versionadded:: 1.7.0
+  .. versionadded:: 1.8.0
 
   This function, if it exists, is called when a separate thread (made with :func:`newThread`) calls :func:`submitToMainThread`.
 
 .. function:: newThread(code)
 
-  .. versionadded:: 1.7.0
+  .. versionadded:: 1.8.0
 
   Spawns a separate thread running the supplied code.
   Code is supplied as a string, not as a function object.
@@ -1704,7 +1704,7 @@ Other functions
 
 .. function:: submitToMainThread(cmd, dict)
 
-  .. versionadded:: 1.7.0
+  .. versionadded:: 1.8.0
 
   Must be called from a separate thread (made with :func:`newThread`), submits data to the main thread by calling :func:`threadmessage` in it.
   If no ``threadmessage`` receiver is present in the main thread, ``submitToMainThread`` logs an error but returns normally.