add Thread wait and notify method demo