读者写者问题.pptVIP

  • 90
  • 0
  • 约3.35千字
  • 约 12页
  • 2017-09-27 发布于广西
  • 举报
读者写者问题.ppt

读者写者问题 Classical Problems of Synchronization: Readers-Writers Problem Readers-writers problem One data object is to be shared by two kinds of processes. Reader processes may want only to read the shared object. Writer processes may want to update (that is, to read and write) the shared object. Synchronization requirement for A writer and some other processes may not access the shared object simultaneously. More than one reader process can access the shared object simultaneously. 进程通信 Readers first读者优先 No reader will be kept waiting unless a writer has already obtained permission to use

文档评论(0)

1亿VIP精品文档

相关文档