The joy of realizing on your evening commute that your lock-free data structure that works fine in tests is actually totally racy
-
-
BTW, GPU programming is fun because you have no locks (because it’s impossible to write them without deadlock potential). All your synchronization has to be through atomics. Makes everything really fun ;)
-
Well GPU programming shouldn't have mutable state, so...
End of conversation
New conversation -
-
-
Yes. "All state transitions are atomics on a single word" is roughly the right criterion for not being bs.
-
I've tried to go that way completely in musl synchronization primitives, but kernel's broken PI mutex protocol forced an ugly step back, just for PI mutexes. Need to write this up on
@ewontfix...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.