Improving the process logic nd now the system detects when a thread is read and hasnt changed