]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commit
handle_recursive: fix race condition if threads are used
authorSimon Ruderich <simon@ruderich.org>
Tue, 8 Apr 2014 12:38:01 +0000 (14:38 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 8 Apr 2014 12:38:01 +0000 (14:38 +0200)
commitb6d1dc09b620742b1877935f9f21a90a13ca5ee1
tree05b9143240da128397efaa76981cdb448bb396a4
parent93bd149d9ff52b309df21712bfe1294fdcb5f21f
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.
NEWS
configure.ac
m4/README
m4/ax_tls.m4 [new file with mode: 0644]
src/coloredstderr.c