Unit 2 Multithreading
Unit 2 Multithreading
Describes how
early gets executed
& selected by
Thread Scheduler
ThreadName.getPriority();
Synchronizing Threads
Asynchronous execution: Threads executing concurrently. Might
generate incorrect result.
Suppose, One thread trying to read record from file and other thread is still
writing the same file. This creates conflicts and needs synchronization