Avoid blocking ticks in c-programs