GH-1500: Mark BasicThread::Done to be ignored by ThreadSanitizer

There's a known false positive with the atomic variables in this method
that triggers a complaint from ThreadSanitizer. Marking it as ignored
avoids the warning.
This commit is contained in:
Tim Wojtulewicz 2021-06-24 16:31:00 -07:00
parent 09229c58d7
commit 0c8a594d6f
2 changed files with 17 additions and 1 deletions

View file

@ -191,7 +191,7 @@ protected:
void Kill();
/** Called by child thread's launcher when it's done processing. */
void Done();
ZEEK_DISABLE_TSAN void Done();
private:
// thread entry function.