Sample Essay
Disciplined concurrent programming can improve the structure and performance of computer programs on both uniprocessor and multiprocessor systems. As a result, support for threads, lightweight processes, has become a common element of new operating systems and programming languages. A thread is a sequential stream of instruction execution (Anderson1). Thread is a basic unit of CPU utilization. It consists of a thread ID, a program counter, a register set, and a stack. Threads of the same process share its code section, data section and other operating system resources (Silberschatz 127).
(more…)