handle_recursive: fix race condition if threads are used

Requires thread-local storage.

Another solution would be a mutex, but this is slower and more
complicated and might cause issues with some programs.
This commit is contained in:
Simon Ruderich
2014-04-08 14:38:01 +02:00
parent 93bd149d9f
commit b6d1dc09b6
5 changed files with 86 additions and 2 deletions

View File

@@ -7,3 +7,4 @@ The following files were copied unmodified from the autoconf archive [1]
[1]: http://www.gnu.org/software/autoconf-archive/
- ax_c___attribute__.m4
- ax_tls.m4