Commandline options change and Conditional variable synchronization.