what are the difficulties of operating system multithreading?

Posted by ghedas on Stack Overflow See other posts from Stack Overflow or by ghedas
Published on 2010-03-13T07:28:34Z Indexed on 2010/03/13 7:35 UTC
Read the original article Hit count: 575

I am reading a book that compares two ways of implementing threads, Middleware Threads and OS Threads. I have a question about these sentences: "A difficulty of operating system multithreading, however, is performance overhead. Since it is the operating system that is involved in switching threads, this involves system calls. These are generally more expensive than thread operations executed at the user level, which is where the transactional middleware is operating."

© Stack Overflow or respective owner

Related posts about operating-system

Related posts about multithreading