Skip to content

Desi banjara

  • “You wouldn’t worry so much about what others think of you if you realized how seldom they do.” Eleanor Roosevelt Motivational & Inspirational Quotes
  • Wishing the day is as amazing as you are. A very Happy Birthday buddy. Birthday Wishes
  • “Investment in travel is an investment in yourself.” ~ Matthew Karsten Quotes
  • “If you don’t like something change it; if you can’t change it, change the way you think about it.”– Mary Engelbreit Motivational & Inspirational Quotes
  • “To travel is to discover that everyone is wrong about other countries.” – Aldous Huxley Quotes
  • How to take screenshot in Samsung galaxy S5 Android phones
  • Microsoft AZ-220 Certification Exam Practice Questions- Part 2 Microsoft Exam AZ-220
  • SQL Server Interview questions Interview questions

Interview question: Describe the difference between a Thread and a Process?

Posted on July 29, 2018 By DesiBanjara No Comments on Interview question: Describe the difference between a Thread and a Process?

A thread can do anything a process can do. But since a process can consist of multiple threads, a thread could be considered a ‘lightweight’ process. So the essential difference between a thread and a process is the work that each one is used to accomplish. Threads are used for small tasks, whereas processes are used for more ‘heavyweight’ tasks – basically the execution of applications.

Both processes and threads are independent sequences of execution. The difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces. This allows threads to read from and write to the same data structures and variables, and also facilitates communication between threads. Communication between processes – also known as IPC, or inter-process communication – is quite difficult and resource-intensive

[amazon_link asins=’B01BDQK5A4,1590599551,1590593197,B00GX9HM5S,B074RJT99M,1590594398,B0787CKSF9,B0014DBI4O,1430210338|0672337886,1590594398,B0787CKSF9,1785881256,1590599551,1590593197,1849697647,1453605754,161729201X’ template=’ProductGrid’ store=’desibanjara22-21|desibanjaraco-21′ marketplace=’IN|UK’ link_id=’1be2663b-9357-11e8-b624-db735f35d31f’]

C# development, Interview questions, IT/Software development Tags:C#, Interview questions, Process, Thread

Post navigation

Previous Post: Interview question: What is mean by operators in C#?
Next Post: Interview question: What is Jagged Array in C#?

Related Posts

  • SQL Server Interview questions Interview questions
  • Interview question: What is the use of “using” keyword in C#? C# development
  • Interview question: What are the types of arrays in C#? C# development
  • C# Interview questions – How to get one/two year back from current date C# development
  • Interview question: What are primitive data types in C#? C# development
  • Asp.Net WebApi Interview Questions ASP.NET Web API

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *



Archives

  • February 2023
  • February 2022
  • June 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • December 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • January 2018
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • August 2015
  • May 2015
  • April 2014
  • November 2013

Categories

  • Acer
  • Amazon AWS Certification Exam
  • Amazon Kindle
  • Android phones
  • ASP.Net MVC
  • ASP.NET Web API
  • AWS DevOps Engineer Professional Exam
  • AZ-300: Microsoft Azure Architect Technologies Exam
  • Azure Active Directory
  • Azure App Services
  • Azure Data Factory
  • Azure Logic Apps
  • Azure Mobile Apps
  • Azure Virtual Machine
  • Best Wishes Messages
  • birthday messages for boyfriend
  • Birthday messages For Girlfriend
  • Birthday Wishes
  • Birthday Wishes For Mom
  • Business
  • C# development
  • Cameras
  • Canon
  • Cloud
  • Cloud services
  • digital-cameras
  • Diwali
  • Entrepreneurship
  • eReaders
  • Family Quotes
  • Family Quotes
  • Friendship Quotes
  • Gadgets
  • Games
  • Get Well Soon Messages
  • GIT
  • Good Morning Wishes
  • Google
  • Gratitude Quote
  • Guru Nanak Jayanti
  • Halloween
  • Happiness Quote
  • Happy Diwali Wishes
  • Happy Independence Day Wishes
  • Happy New Year Wishes
  • HTC
  • HTC One
  • HTML
  • I Miss You Messages
  • Inspirational Quotes
  • Inspirational Travel Quotes
  • Interview questions
  • IT/Software development
  • Leadership Quote
  • Life lessons
  • Love Quotes
  • Love shayari
  • Messages
  • Microsoft AI-900 Certification Exam
  • Microsoft AZ-104 Certification Exam
  • Microsoft AZ-204 Certification Exam
  • Microsoft AZ-900 Certification Exam
  • Microsoft Azure
  • Microsoft Azure certifications
  • Microsoft Exam AZ-220
  • Microsoft Excel
  • Microsoft Office
  • Microsoft word
  • Mobile phones
  • Motivational & Inspirational Quotes
  • Nature Quotes
  • Nexus
  • Nikon
  • Pixels
  • PL-200: Microsoft Power Platform Functional Consultant Certification
  • PL-900: Microsoft Power Platform Fundamentals
  • postman
  • Quotes
  • Robin Sharma
  • Samsung Galaxy S5
  • Self improvement quotes
  • Self-Confidence Quote
  • SonarQube
  • Sony PlayStation 4
  • SQL
  • SQL Server
  • Success Quotes
  • Travel Quotes
  • Uncategorized
  • Uplifting Quotes
  • WCF (Windows Communication Foundation)
  • Web development
  • Wishes
  • Wishes for Newborn Baby

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org



Recent Posts

  • Azure Data Factory
  • What is Azure Active Directory?
  • Azure Virtual Machine
  • Azure Logic Apps
  • Azure Mobile Apps

Recent Comments

  • Yosianus on Error while sending json model in POST request to web API service using postman
  • Happy Independence Day Wishes Happy Independence Day Wishes
  • Interview question: What is the use of “using” keyword in C#? C# development
  • Interview question: In how many ways you can pass parameters to a method? C# development
  • AWS DevOps Engineer Professional Exam Practice Questions – 7 AWS DevOps Engineer Professional Exam
  • “Take only memories, leave only footprints.” – Chief Seattle Quotes
  • AWS DevOps Engineer Professional Exam Practice Questions – 11 AWS DevOps Engineer Professional Exam
  • Interview question: What are primitive data types in C#? C# development
  • Whatever dream you’re dreaming May each one of them come true Whatever plans you’re making May they all work out for you Happy Birthday! Birthday Wishes

Copyright © 2023 Desi banjara.

Powered by PressBook News WordPress theme