-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/27/2017 04:29 PM, Peter Stuge wrote:
Timothy Pearson wrote:
In general static timeouts are not a good idea.
In general infinite loops are a worse idea.
Agreed. That being said, this sort of "quick fix" with timeouts is one way that projects end up adding unneeded boot delay that sticks around and becomes harder to fix as the years go by. I've even seen this in Linux desktop environments; the "fastest" fix to multi-process startup is often to add a delay to force process start order. It's almost never the correct solution, but can serve as a useful backup if something goes wrong.
can it parse the ME descriptor and not even search for the HECI interface if the ME size is less than a certain value?
That's a good idea! But put the timeout in to begin with.
//Peter
- -- Timothy Pearson Raptor Engineering +1 (415) 727-8645 (direct line) +1 (512) 690-0200 (switchboard) https://www.raptorengineering.com