Explain process vs thread and memory-sharing risks
Company: xAI
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates a candidate's understanding of OS concurrency fundamentals, specifically the distinction between processes and threads, memory-sharing semantics, and the concurrency hazards that arise from shared memory.