Add deprecation notice in the documentation for yr_finalize_thread.
@@ -461,8 +461,11 @@ Functions
.. c:function:: void yr_finalize_thread(void)
+ .. deprecated:: 3.8.0
+
Any thread using the library, except the main thread, must call this
- function when it finishes using the library.
+ function when it finishes using the library. Since version 3.8.0 this calling
+ this function is not required anymore, and it's deprecated.
.. c:function:: int yr_compiler_create(YR_COMPILER** compiler)
