]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
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)
Requires thread-local storage.

Another solution would be a mutex, but this is slower and more
complicated and might cause issues with some programs.


No differences found