A process is an independent program with its own memory space; threads are lighter units of execution that share their process's memory. Threads are cheaper to create and communicate, but shared memory requires synchronization to avoid race conditions.
Operating Systems· asked at Microsoft✓ Added to review
A deadlock is when processes wait on each other indefinitely. It needs four conditions simultaneously (Coffman): mutual exclusion, hold-and-wait, no preemption, and circular wait. Breaking any one prevents deadlock.
Operating Systems· asked at Generic✓ Added to review
💬
Send Feedback / Bug
Feedback Submitted!
Thank you. Your help keeps Geeky Script running smoothly.