제어로봇시스템학회:학술대회논문집
- 제어로봇시스템학회 1996년도 한국자동제어학술회의논문집(국내학술편); 포항공과대학교, 포항; 24-26 Oct. 1996
- /
- Pages.207-209
- /
- 1996
중형항공기 시뮬레이션 소프트웨어의 작업간 공유메모리 사용의 상호배제
Mutual exclusion of shared memory access in the simulation software of the midclass commuter
초록
The software of the midclass commuter flight simulation is running on multiprocessor/multitasking environments The software is consist of tasks which are periodically alive at a given interval. Each task communicates via shared memory. The data shared by tasks is divided by several block. Only one task, called producer, can produce data for a data block but several tasks, called consumers, can read data from the data block. Double buffer and conditional flag are used to implement a mutual exclusion which prevents the producer and consumers from accessing the same data block simultaneously.