[PATCH] D20461: [LibFuzzer] Fix sending SIGALRM to main thread under Mac OSX

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 22:28:46 PDT 2016


kcc added a comment.

dependency on -lpthread would be unfortunate... 
And I don't like the current code either. 
Let me rethink this one. 
This may be solved by printing and Exiting_ in the getrusage thread --
the only question is how to avoid the race on CurrentUnitData/CurrentUnitSize w/o having to use a Mutex.

Want to try this?


http://reviews.llvm.org/D20461





More information about the llvm-commits mailing list