-
CLPSO(FES)
CLPSO CODE 可直接使用,无需修改 嗯嗯嗯嗯(CLPSO CODE Can be used directly without modification)
- 2018-03-19 11:01:05下载
- 积分:1
-
使用原始套接字实现ping命令的功能,以指定发送报文数。 可以指定发送报文长度。 可以指定发送报文的TTL值...
使用原始套接字实现ping命令的功能,以指定发送报文数。 可以指定发送报文长度。 可以指定发送报文的TTL值-Using raw socket to achieve the function of ping command to specify the number of sent messages. Can specify the length of message sent. Send Message to specify the TTL value
- 2022-05-31 20:35:59下载
- 积分: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
-
Lammps-DPD-master
说明: 对Lammps里的DPD package进行了稍微修改,可以进行电场和morse potential的计算。(Enable electrostatic interaction and morse potential of DPD package in Lammps)
- 2020-06-26 05:45:06下载
- 积分:1
-
Visual C++经典游戏程序设计.rar MFC编程实例源代码。有俄罗斯方块、扫雷、连连看、拼图、推箱子等...
Visual C++经典游戏程序设计.rar MFC编程实例源代码。有俄罗斯方块、扫雷、连连看、拼图、推箱子等-Visual C++ Classical Game Program Design.rar MFC Program Example source code.
- 2022-07-14 07:27:24下载
- 积分:1
-
telegram_api
Python Telegram Example
- 2019-05-27 15:47:50下载
- 积分:1
-
Screen Chatting source
Screen Chatting source
- 2023-07-05 21:55:03下载
- 积分:1
-
DBDemo
说明: 个人测试的一个Demo个人测试的一个Demo(This is a test Demo.)
- 2019-05-28 17:32:01下载
- 积分:1
-
6977775
在线五子棋游戏,很经典的游戏,服务器和客户端俱全,()
- 2017-11-22 20:50:55下载
- 积分:1
-
19851651gjh bhbhkjkjnnjkkj
19851651gjh bhbhkjkjnnjkkj -19851651gjh bhbhkjkjnnjkkj
- 2022-11-30 08:30:03下载
- 积分:1