> I think it's a good idea if it makes code more obviously correct and > doesn't add significant overhead. What do you have in mind?
I haven't thought through it entirely but basically a new timer_t type which would be typdefed as a long long int. A function to set the timer for some number of seconds in the future, and a function to check if the timer has gone off. Perhaps a wait for timer function too. It would be pretty trivial, but we've reimplemented this logic all over the code and are bound to make mistakes like this as it's not super clean. Ethan _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
