30 condition and deadlock with problems