The most common race condition that I see during code review is
lock
read
unlock
lock
write
lock
Where `write` depends on the data from `read`.
Note: this is not detected by race detector in @golang and @rustlang will compile such code as safe as it *could* be intended.
I blogged about this more in details: https://blogtitle.github.io/sneaky-race-conditions-and-granular-locks/ …
12:45 - 13. pro 2019.
0 replies
1 proslijeđeni tweet
12 korisnika označava da im se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
with parallel programming and security. (he/him)