-
岁月最新源码
说明: 最新岁月冒险岛源码亲测可用!完美使用!给有需要的!(The latest years Adventure Island source code available!)
- 2020-08-15 12:38:31下载
- 积分:1
-
读者写者问题
说明: 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。
2、定义一个读者函数:
?当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。
?当有其他读者在占用buffer时,读者可对buffer进行读取操作。
?当buffer中有数据时,则从其中读取一个数据,并显示然后退出。
?当buffer中没有数据时,应等待,直到buffer中有数据可读。
3、定义一个写者函数
?当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。
?当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。
?当buffer有空闲时,写者应该在buffer中写入一个数据并退出。
?当buffer满时,写者应该等待,直到buffer有空闲为止。
4、定义主函数,在其中可以任意创建读者与写者。
可根据用户输入创建读者或写者进程(线程)。(1. Define a data buffer and semaphores for synchronization and mutual exclusion.
2. Define a reader function:
When a writer is occupying the buffer, the reader should wait until the writer no longer uses the buffer.
When other readers occupy the buffer, they can read the buffer.
When there is data in the buffer, read a data from it, display and exit.
When there is no data in the buffer, wait until the data in the buffer is readable.
3. Define a writer function
When a reader is occupying the buffer, the writer should wait until all readers quit.
When other writers occupy the buffer, the writer should wait until the writer who occupies the buffer exits.)
- 2019-12-27 18:49:46下载
- 积分:1
-
面板数据模型及其在经济分析中的应用(PDF版)
说明: 王志刚老师版的stata面板数据模型应用,静态,动态,单位根检验和协整检验,面板受限模型等等(Wang Zhigang's version of Stata panel data model application, static, dynamic, unit root test and cointegration test, Panel Limited model and so on.)
- 2020-11-25 00:29:32下载
- 积分:1
-
bzrclient
说明: Diablo 3 Hack Tools Testing 1
- 2019-06-06 10:46:19下载
- 积分:1
-
Python网络数据采集
python网络数据采集 高清pdf 特别推荐这本书,通俗易懂,作者讲的非常详细(Python Network Data Acquisition high-definition pdf)
- 2019-03-10 19:56:25下载
- 积分:1
-
uvm_axi-master
axi uvm vip, verification model (axi system verilog )
- 2020-12-16 11:09:13下载
- 积分:1
-
IdentityServer4_ResourceOwnerPasswords-master
IdentityServer4_ResourceOwnerPasswords-master
- 2020-06-19 16:00:02下载
- 积分:1
-
nype
自建词典的开发界面和底层数据库操作整个包上载(The development interface of the self-built dictionary and the operation of the underlying database for the whole package upload)
- 2018-12-24 11:52:35下载
- 积分:1
-
cec13_func
说明: 用于部分算法的函数测试,如PSO,FIPS等的粒子群算法(function can be used in PSO, FIPSO,and some particle swarm.)
- 2020-06-22 13:20:02下载
- 积分:1
-
hehe 在这儿给大家共同分享!!! !!!!
hehe 在这儿给大家共同分享!!! !!!!
-hehe here for everyone to share!!!!!!!
- 2022-04-12 10:24:30下载
- 积分:1