Update 103-threads-and-concurrency.md (#1185)
parent
04f30d4e2b
commit
fbb9729d01
1 changed files with 11 additions and 0 deletions
@ -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. |
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.backblaze.com/blog/whats-the-diff-programs-processes-and-threads/'>What’s the Diff: Programs, Processes and Threads</BadgeLink> |
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.javatpoint.com/concurrency-in-operating-system'>Concurrency in Operating System</BadgeLink> |
||||
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=exbKr6fnoUw'>Intro to Processes & Threads</BadgeLink> |
||||
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=iKtvNJQoCNw'>Introduction to Concurrency</BadgeLink> |
||||
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=olYdb0DdGtM'>Concurrency, Threading and Parallelism Explained</BadgeLink> |
Loading…
Reference in new issue