Mutual exclusion of shared memory access in the simulation software of the midclass commuter

중형항공기 시뮬레이션 소프트웨어의 작업간 공유메모리 사용의 상호배제

  • Published : 1996.10.01

Abstract

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.

Keywords