Sample Essay

Thread encapsulates concurrency. On a multiprocessor system, each thread can execute on a separate processor. If there is one processor, then all the threads will execute on that single processor. Threads will act nearly the same whether they are executing simultaneously on different processors or on one processor. The software that supports threads puts the same interface around concurrency (Dibble 27).

According to Shene, in Thread Fundamentals, there are four basic operations through which threads are managed are: “thread creation, thread termination, thread join, and thread yield”. Two more operations for the purpose of thread management, are thread suspend and resume.

Shene explains the thread creation in the following way: Initially there was one thread, thread A (from the figure C). Then this execution thread is split into two forming thread B. Thread A is the parent and thread B is the child thread and both of them will run concurrently. After some time, thread A creates another thread C. Now, all the three threads will run concurrently and will “compete to use the CPUs. However, which thread is run at a particular time is not known to any one of them”

These are just excerpts of essays please access the order form for custom essays, research papers, term papers, thesis, dissertations, book reports and case studies.