diff --git a/content/roadmaps/101-backend/content/102-os-general-knowledge/103-threads-and-concurrency.md b/content/roadmaps/101-backend/content/102-os-general-knowledge/103-threads-and-concurrency.md index 22c6c97e7..f38f1e5bc 100644 --- a/content/roadmaps/101-backend/content/102-os-general-knowledge/103-threads-and-concurrency.md +++ b/content/roadmaps/101-backend/content/102-os-general-knowledge/103-threads-and-concurrency.md @@ -1 +1,12 @@ # Threads and Concurrency + +A thread is the smallest unit of processing that can be performed in an OS. In most modern operating systems, a thread exists within a process - that is, a single process may contain multiple threads. + +Concurrency refers to the execution of multiple threads at the same time. It occurs in an operating system when multiple process threads are executing concurrently. These threads can interact with one another via shared memory or message passing. Concurrency results in resource sharing, which causes issues like deadlocks and resource scarcity. It aids with techniques such as process coordination, memory allocation, and execution schedule to maximize throughput. + +Free Content +What’s the Diff: Programs, Processes and Threads +Concurrency in Operating System +Intro to Processes & Threads +Introduction to Concurrency +Concurrency, Threading and Parallelism Explained \ No newline at end of file