Skip to content

Commit

Permalink
multithreading and multiprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
arunp77 committed Aug 18, 2024
1 parent 6946ed3 commit 4958b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multithreading-multiprocessing.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ <h3>Table of Contents</h3>
<h2 id="introduction">Introduction</h2>
Multithreading and multiprocessing are two techniques used to achieve concurrent execution in Python. Although they share the common goal of improving performance by leveraging multiple tasks simultaneously, they are fundamentally different in how they manage and utilize system resources.

<div class="box" style="background-color: lightgreen;">
<div class="box" style="background-color: rgb(144, 238, 222);">
&#128712; A processor (or CPU for Central Processing Unit), is one of the essential electronic components found in our computers and is responsible for executing instructions. A processor is mainly defined by 2 characteristics: its frequency and its number of cores. The frequency associated with the processor corresponds to the number of cycles it can perform per second. A processor can have one or more cores, which correspond to computing units. A multi-core processor will be able to execute several tasks simultaneously, if these tasks allow it, by distributing the tasks by available core.
</div>
<div class="box" style="background-color: lightgreen;">
<div class="box" style="background-color: rgba(255, 0, 55, 0.548);">
&#128712; The RAM for Random Access Memory is the random access memory of a computer. It is a temporary storage space. The system accesses this memory instantaneously which allows the interface to run smoothly.
</div>

Expand Down

0 comments on commit 4958b79

Please sign in to comment.