Re: [cfe-users] Silencing errors in TSAN

2020-02-05 Thread Kyle Edwards via cfe-users
On Wed, 2020-02-05 at 19:30 +0100, JVApen wrote: > Hey Kyle, > > This is a bug in your code, if you have a context switch after the > creation of the thread on an overloaded system, the close of the pipe > can be closed while writing or even before it. > > Timing ain't a good way to synchronize t

Re: [cfe-users] Silencing errors in TSAN

2020-02-05 Thread JVApen via cfe-users
Hey Kyle, This is a bug in your code, if you have a context switch after the creation of the thread on an overloaded system, the close of the pipe can be closed while writing or even before it. Timing ain't a good way to synchronize threads. TSan is correct in flagging this occurrence. On Fri,

[cfe-users] Silencing errors in TSAN

2020-01-29 Thread Kyle Edwards via cfe-users
Hello all, I am attempting to build OpenMPI with TSAN enabled (to TSAN-itize a project that uses OpenMPI), and am finding that OpenMPI throws lots of errors in TSAN (not surprising.) I am attempting to build OpenMPI with the following blacklist: src:* However, I am still getting errors when I ru