Attachment: v4-0001-vaccum_delay-with-absolute-time-nanosleep.patch
Description: Binary data

> yeah, we already have a few macros that access the .ticks, so maybe we could 
> add
> 2 new ones, say:
> 
> 1. INSTR_TIME_ADD_MS(t1, msec)
> 2. INSTR_TIME_IS_GREATER(t1, t2)
> 
> I think the less operations is done in the while loop the better.
> 

See v4. it includes 2 new instr_time.h macros to simplify the 
code insidethe while loop.

Regards,

Sami

Reply via email to