Concept of Threads in Computer Programming: Basically Thread is concept of System's OS, That is now being implemented by programmers in various places of application development and testing. What is a Thread? In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system. Multiple threads can exist within one process, executing concurrently and sharing resources such as memory, while different processes do not share these resources. A process with two threads of execution, running on one processor What is a Process? A process is the instance of a computer program that is being executed. It contains the program code and its activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently. A computer program is a passive collec...
Comments
Post a Comment