Something went wrong while setting issue due date.
Enable viewThreadSafe on dune-grid
A quick debug on a 2D uggrid with only triangles leads me to a data race on writes to the usage statistics ce_usage[MAX_CONTROL_ENTRIES]
. After commenting writes to these statistics, I was able to perform parallel loops without data-races.
It would be very nice if these statistics collection were optional in order to enable viewThreadSafe
at least on simplices for 2D. If this sounds interesting to anybody, I could also check the other cases.