84
Benefits of Threads
nExample: a file server on a LAN
nIt needs to handle several file requests over a short period nHence more efficient to create (and destroy) a single thread for each request nOn a SMP machine: multiple threads can possibly be executing simultaneously on different processors nExample 2: one thread display menu and read user input while the other thread execute user commands