ReadersWriters
所属分类:单片机开发
开发工具:C/C++
文件大小:14KB
下载次数:7
上传日期:2009-11-12 15:04:54
上 传 者:
Kelvenhuai
说明: Sharc 21364 VDK example_Readers&Writers
文件列表:
ReadersWriters (0, 2009-11-12)
ReadersWriters\ReadersWriters.dpj (6658, 2006-05-26)
ReadersWriters\ReadersWriters.vdk (3132, 2006-05-26)
ReadersWriters\ReaderThread.cpp (3840, 2006-05-26)
ReadersWriters\ReaderThread.h (839, 2006-05-26)
ReadersWriters\SysStartThread.cpp (2554, 2006-05-26)
ReadersWriters\SysStartThread.h (741, 2006-05-26)
ReadersWriters\VDK-21364.ldf (17127, 2009-08-07)
ReadersWriters\VDK.cpp (9209, 2009-08-07)
ReadersWriters\VDK.h (5927, 2009-08-07)
ReadersWriters\WriterThread.cpp (3509, 2006-05-26)
ReadersWriters\WriterThread.h (733, 2006-05-26)
Description
-----------
A common paradigm in concurrent applications is protection & isolation of
shared data such as a variable, buffer, or document and the control of access
to that data.
The readers/writers problem is an example of this. This problem has two types
of clients accessing the shared data. The first type, refered to as readers,
only wants to read the shared data. The second type, refered to as writers,
may want to modify the shared data. if a writer is active then no other
writer or reader can be active. Multiple readers may simultaneously read from
the buffer or shared data area.
近期下载者:
相关文件:
收藏者: