Liste des Groupes | Revenir à cl c++ |
On 25/04/2025 09:37, Bonita Montero wrote:Oh shit. Damn. Did it "totally" deadlock once in a blue moon or just give out some bugged data to the customers? I hope it just deadlocked... Wow. Shit man. ;^oAm 24.04.2025 um 23:33 schrieb Chris M. Thomasson:Once upon a time I put a race in a bit of code.
>"there’s no thundering herd, ever!" because a controlled test didn't "show it" is like saying race conditions do not exist because your code "worked fine this time."? Fair enough?>
Yes, controlled test with 10'000 iterations.
The code is correct and trivial, but too much for you.
>
It took us 3 years to track down why our customers were reporting occasional faults :(
(It turned out the trick to reproduce it was a combination of lots of CPU load and disk transfers not more than once every 30 seconds)Yup. I have been there done that for some of my tests. I even put a bug in on purpose just to see how long it would take to trigger it... Decades ago. ;^o Sigh.
Les messages affichés proviennent d'usenet.