A problem with Ada and resource allocation
暂无分享,去创建一个
Ada has been described as being suitable for the implementation of resource management algorithms. We explore four possible solutions to the problem of allocating a number of resources from a pool. We conclude that no ready method presents itself which avoids race conditions and is robust in the face of the failure of requesting tasks.
[1] Mary Van Deusen,et al. Red Language Reference Manual , 1979 .
[2] Dewayne E. Perry,et al. ADA for Experienced Programmers , 1983 .
[3] C. A. R. Hoare,et al. Monitors: an operating system structuring concept , 1974, CACM.