Switch to C11 threads
This MR uses C11 threads (backed up by gnulib) instead of the wget_thread_* functionality.
There are several test failures that are not obviously caused by this change. This still needs to be investgated.
Approver's checklist:
-
The author has submitted the FSF Copyright Assignment and is listed in AUTHORS -
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent with existing code -
This feature/change has adequate documentation added (if appropriate) -
No obvious mistakes / misspelling in the code
Edited by Tim Rühsen