<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Processes on P01NT</title><link>https://outofsrvc.github.io/en/tags/processes/</link><description>Recent content in Processes on P01NT</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 26 Aug 2026 00:00:00 +0300</lastBuildDate><atom:link href="https://outofsrvc.github.io/en/tags/processes/index.xml" rel="self" type="application/rss+xml"/><item><title>Processes &amp; Threads</title><link>https://outofsrvc.github.io/en/os/os-0x3/</link><pubDate>Wed, 26 Aug 2026 00:00:00 +0300</pubDate><guid>https://outofsrvc.github.io/en/os/os-0x3/</guid><description>&lt;p>بسم الله&lt;/p>
&lt;p>This article is dedicated to Processes &amp;amp; Threads, which exist in every operating system.&lt;/p>
&lt;h2 id="processes">Processes&lt;/h2>
&lt;p>Briefly, a process is a program in execution.&lt;/p>
&lt;p>A process has a structure inside the kernel called KProcess, or the Process Control Block (PCB), which the kernel uses to control this process&amp;rsquo;s operations.&lt;/p>
&lt;p>The PCB contains many fields; the most important:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Process State:&lt;/strong> the state of the process.&lt;/li>
&lt;li>&lt;strong>Process Number:&lt;/strong> the process&amp;rsquo;s number.&lt;/li>
&lt;li>&lt;strong>Program Counter:&lt;/strong> the program counter.&lt;/li>
&lt;li>&lt;strong>Registers:&lt;/strong> the registers belonging to the process.&lt;/li>
&lt;/ol>
&lt;p>&lt;img alt="PCB structure and fields" decoding="async" loading="lazy" src="https://outofsrvc.github.io/assets/img/os/os-0x3/pcb-fields.png">
&lt;em>Figure (1): The process control block&lt;/em>&lt;/p></description></item></channel></rss>