samth
2017-4-21 18:35:22

@mflatt: @spall and I are looking at thread/atomic.rkt (since we have atomicity issues in our implementation)


samth
2017-4-21 18:35:55

is that a stub for future implementation, or does that in fact force atomicity?


mflatt
2017-4-21 18:36:25

That’s atomic only for the Racket-thread implementation (i.e., not for OS-level threads = Chez threads)


samth
2017-4-21 18:36:51

right, so the bug we’re having is atomicity in the equivalent of thread-group-add!


samth
2017-4-21 18:37:27

how does the atomic.rkt code force the engines you’ve implemented to be atomic?


mflatt
2017-4-21 18:39:11

In swap-in-thread in “schedule.rkt”, the out-of-ticks handler just resumes the same engine if it’s in atomic mode


samth
2017-4-21 18:39:59

ok, thanks, that’s helpful


abmclin
2017-4-21 22:52:06

@abmclin has joined the channel