Fundamentals of Operating Systems | Codecademy

www.codecademy.com/courses/fundamentals-of-operating-systems/quizzes/processes-and-threads-quiz

1 Users

1 Comments

5 Highlights

0 Notes

Top Highlights

  • Preemption is the interruption of a process that occurs when the scheduler decides that another process needs to be run instead.

  • Kernel threads are threads created in kernel space using kernel code and libraries through a system call. The kernel is fully aware of these threads and can properly manage them. User threads are threads created in user space using local code and function calls. The kernel is not aware of these threads and cannot directly control them.

  • A computer program is a static collection of code while a process is a dynamic data structure containing relevant operating system information for a running program.

  • Context switching allows CPU cores to alternate between ready and blocked processes to best take advantage of limited computing resources

  • Managing multiple threads requires more advanced coding practices and testing.

Toughts & Comments

Stella Sofia

os program process thread instruction memory scheduler preemption multithreading contested resource context switching

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.