process అనేది తన స్వంత memory తో ఉన్న isolated program; thread అనేది అదే process లోని ఇతర threads తో memory ను పంచుకునే execution యూనిట్. ఒక process అనేక threads ను కలిగి ఉండవచ్చు.
ఇది ఎలా పనిచేస్తుంది
- Process: స్వంత address space, file descriptors, మరియు heap. OS ద్వారా isolated — ఒక process లోని crash లేదా memory bug మరొకదాన్ని corrupt చేయలేదు. Context switching మరియు communication (IPC) సాపేక్షంగా ఖరీదైనవి.
