Process and Thread – Any confusion?

1. A process is a program/set of codes in execution (running state)

2. Each program on OS that is running is a process

3. Each process concurrently and separately run with other process

4. Inside each process (a program in execution), if several parts of it need to run concurrently, then each concurrently running parts of a process is called thread or lightweight process

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.