basics/ : understanding signal and wait