<aside> 📌 데이터의 접근, Race Condition, OS에서의 race condition, If you preempt CPU while in kernel mode…, Synchronization 문제, Example of a Race Condition, The Critical-Section Problem, Initial Attempts to Solve Problem

</aside>


데이터의 접근

스크린샷 2022-12-20 오후 3.07.01.png

Race Condition

스크린샷 2023-01-01 오후 10.52.38.png

OS에서 race condition은 언제 발생하는가?

1. kernel 수행 중 인터럽트 발생 시

2. Process가 system call을 하여 kernel mode로 수행 중인데 context switch가 일어나는 경우