================

----------------
ccotter wrote:

I think it would be very difficult to support threads that already exist when a 
simulation starts. The model I implemented is similar to Relacy's, which 
assumes the simulation has a global, starting view of the world. Right now, if 
a simulation attempts to run when other threads start, the `__tsan_simulate` 
returns -1 immediately and prints to stderr a message. The program otherwise 
continues (e.g., `__tsan_simulate` itself does not abort).

https://github.com/llvm/llvm-project/pull/183200
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to