• anonymous
Why is it that threads are faster to create than processes? What advantage do kernel threads provide over user threads
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • schrodinger
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
Procees consistss of several threads ,so process takes more time.There is no hard and fast rule to say the advantages of kernel threads over user threads its all depends on the requirement .Generally kernel threads are useful in the place where some privileged operation have to be performed.
  • shadowfiend
Threads share the same address space, while processes require their own address space. However, on Linux and certain other operating systems, forked processes use COW, which means they share memory until one of the processes attempts to write to it. That makes forking essentially equally fast, if I remember correctly.

Looking for something else?

Not the answer you are looking for? Search for more explanations.