change mutex example
condition variable example for thread