creating thread
new thread running
notifying other thread
thread notified okay