sandialabs / qthreads

Lightweight locality-aware user-level threading runtime.
https://www.sandia.gov/qthreads/
Other
173 stars 35 forks source link

Disable Thread Sanitizer Instrumentation for Context Swap #231

Closed insertinterestingnamehere closed 7 months ago

insertinterestingnamehere commented 9 months ago

Fixes #219.

Something about thread sanitizer's instrumentation doesn't like our context swap implementation. As documented in #219 there's a segfault during cleanup that happens because in some cases a worker thread fails to return from swapping the context to a qthread. This particular function isn't a source of concern for race conditions anyway so I'm just turning the sanitizer off locally.

janciesko commented 7 months ago

Sounds good