5 ms·
I've seen code that (a) issued an async read (b) did some computation (c) used the buffer filled in by that async read ... without actually seeing if the re
by kabdib 4y ago
I've seen code that
(a) issued an async read
(b) did some computation
(c) used the buffer filled in by that async read
... without actually seeing if the read completed. Hilarity ensued when the CPU got faster. This was in stuff that shipped to hundreds of thousands of customers.
If you're having a good day, you can definitely address that problem by reading device drivers for a few hours.
- MichaelZuo 4y agoIt seems like this would be classic Apple territory, to one up their competitors via their unique vertically integrated position.
- wil421 4y agoYes it is. I’ve heard from Hackintosh Overclocker types that Apples ACPI[1] tables are the best and most of the PC motherboard manufacturers are compete garbage. Including WTF how does this hardware even function moments. [1] https://en.m.wikipedia.org/wiki/ACPI https://en.m.wikipedia.org/wiki/ACPI
- xmodem 4y agoI assume things are better these days, but back in 2005 the thing that lead me to switch to mac was seeing a friend with a powerbook which had a sleep mode that actually worked.
- nikanj 4y agoI grabbed my (sleeping, lid closed) macbook from my desk this morning. When I pulled the charger to put it into my bag, I started hearing the faint audio of the youtube video I was playing when I closed the lid last night. Macs today sleep like Windows machines a decade ago