writeandread

Directory: Process-Thread
Plat: C/C++
Size: 338KB
Downloads: 0
Upload time: 2019-05-03 20:23:39
Uploader: 叶子飞花
Description:   Create a console process. This process contains n threads. Use n threads to represent n readers or writers. Each thread reads and writes according to the requirements of the corresponding test data file (described later). Using semaphore mechanism to achieve reader-writer priority respectively. Reader-writer restrictions (including reader priority and writer priority): 1) Write-write exclusion, that is, two writers can not write at the same time. 2) Read-write mutually exclusive, that is, one thread cannot read at the same time while another thread is writing. 3) Read-read permission, that is, one or more readers can read.

File list:
读者写者, 0 , 2019-04-27
读者写者\Debug, 0 , 2019-04-27
读者写者\Debug\StdAfx.obj, 1907 , 2019-04-27
读者写者\Debug\perr.exe, 172099 , 2019-04-27
读者写者\Debug\perr.ilk, 184240 , 2019-04-27
读者写者\Debug\perr.obj, 52600 , 2019-04-27
读者写者\Debug\perr.pch, 187152 , 2019-04-27
读者写者\Debug\perr.pdb, 353280 , 2019-04-27
读者写者\Debug\vc60.idb, 140288 , 2019-04-27
读者写者\Debug\vc60.pdb, 233472 , 2019-04-27
读者写者\PERR.CPP, 5241 , 2004-10-24
读者写者\PERR.DSP, 4512 , 2004-03-12
读者写者\PERR.DSW, 531 , 2004-03-12
读者写者\PERR.NCB, 66560 , 2019-04-27
读者写者\PERR.OPT, 87040 , 2019-04-27
读者写者\PERR.PLG, 1693 , 2019-04-27
读者写者\ReadMe.txt, 1196 , 2004-03-12
读者写者\StdAfx.cpp, 291 , 2004-03-12
读者写者\StdAfx.h, 667 , 2004-03-12
读者写者\_ERR.DSP, 0 , 2004-03-12
读者写者\_ERR.DSW, 0 , 2004-03-12
读者写者\_ERR.NCB, 25600 , 2004-03-12
读者写者\_ERR.OPT, 37888 , 2004-03-12
读者写者\_VC10.TMP, 0 , 2004-03-12
读者写者\_VC12A.TMP, 0 , 2004-03-12
读者写者\_VC12B.TMP, 0 , 2004-03-12
读者写者\_VC12C.TMP, 0 , 2004-03-12
读者写者\_VC12D.TMP, 0 , 2004-03-12
读者写者\_VC12E.TMP, 0 , 2004-03-12
读者写者\_VC12F.TMP, 0 , 2004-03-12
读者写者\_VC130.TMP, 0 , 2004-03-12
读者写者\_VC131.TMP, 0 , 2004-03-12
读者写者\_VC138.TMP, 0 , 2004-03-12
读者写者\_VC139.TMP, 0 , 2004-03-12
读者写者\_VC2.TMP, 0 , 2004-03-14
读者写者\_VC25.TMP, 0 , 2004-03-13
读者写者\_VC26.TMP, 0 , 2004-03-13
读者写者\_VC3.TMP, 0 , 2004-03-30
读者写者\_VC4.TMP, 0 , 2004-03-30
读者写者\_VC8CB.TMP, 0 , 2004-04-17
读者写者\_VC8CC.TMP, 0 , 2004-04-17
读者写者\_VC8DE.TMP, 0 , 2004-04-17
读者写者\_VC8DF.TMP, 0 , 2004-04-17
读者写者\_VC946E.TMP, 0 , 2004-03-25
读者写者\_VC946F.TMP, 0 , 2004-03-25
读者写者\_VC9FA.TMP, 0 , 2004-04-17
读者写者\_VC9FB.TMP, 0 , 2004-04-17
读者写者\_VCF.TMP, 0 , 2004-03-12

Download users:

Relate files:

Comment: Add Comment

Favorite users: