Posts

Showing posts with the label multithreading

Getting started with basics of multithreading(java)

Some basics about multithreading...... Java provides inbuilt support for multithreading. we can say that thread is a part of program. Each thread has its seperate path for execution. let me introduce the first, concept of multitasking... What does multitasking means ..? By simple meaning one can  say that multitasking means more than one task at a particular instant of time that is not in sequence or not in chain. Here in java we have two sides of multitasking one is multitasking based on process and other is multitasking in terms of thread . so multitasking            1) process based       2) thread based So what is the difference between these two ? when we say that it is process based multitasking then we have to think that more than one  program are executing concurrently. for example a java compiler is working currently with the text editor working parallel to it. one th...