In any software system, there are always a variety of threads at work. These threads can be classified into two general types: user threads and kernel threads. User threads are...