> Timeval returns the current time which consists of the UTC time and > a microseconds counter. So you will need to have more than 32 bits > for a comparison.
That's not actually the complete story. :-) Counters such as these are *carefully* crafted so they can do a 32 bit subtraction & comparison even if the absolute time is > 32 bits. -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development