free hit counter
Condition variable in c example