-
设置串口属性,并打开串口从串口发送数据。
设置串口属性,并打开串口从串口发送数据。-Set serial port properties, and open the serial port to send data from the serial port.
- 2022-03-21 02:21:26下载
- 积分:1
-
哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作系统文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地...
哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作系统文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地理解计算机系统中的资源共享、进程同步、死锁等问题,并能熟练地应用信号量来解决生活中的控制流程,即将生活中的控制流程用形式化的方式表达出来。
假设有5个哲学家,他们花费一生中的时光思考和吃饭。这些哲学家共用一个圆桌,每个哲学家都有一把椅子。在桌子中央是一碗通心面,在桌子上放着5只筷子。(如图所示)当一个哲学家思考时,他与其他同事不交互。时而,哲学家会感到饥饿,并试图拿起与他相近的两只筷子(他与邻近左、右之间的筷子)。一个哲学家一次只能拿起一只筷子。显然,他不能从其他哲学家手里拿走筷子。当一个饥饿的哲学家同时有两只筷子时,他就不能不用释放他的筷子而自己吃了。当吃完后,他会放下两只筷子,并再次开始思考。
规定奇数号哲学家先拿他左边的筷子,然后再去拿右边的筷子;而偶数号哲学家则相反。按此规定,将是1、 2号哲学家竞争1号筷子;3、4号哲学家竞争3号筷子。即五位哲学家都先竞争奇数号筷子,获得后,再去竞争偶数号筷子,最后总会有一位哲学家能获得两只筷子而进餐。
-dining philosophers problem is the Netherlands scholars Dijkstra"s one of the classic, It is a signal to the mechanism of application, the operating system in the history of culture has a very important position. Analysis of the problem to help students understand deeply the computer system resource sharing, process synchronization, and other issues Deadlock, skilled and can be applied to solve the signal volume life of the control flow, about the life of the control flow wi
- 2022-03-25 04:58:02下载
- 积分:1
-
包含文章:《C语言出错中英文对照表》
对于初学c语言时,不理解编译器所报错误原因有很大帮助。...
包含文章:《C语言出错中英文对照表》
对于初学c语言时,不理解编译器所报错误原因有很大帮助。-contain articles : "C language bilingual mistake" for a novice c language, do not understand the compiler reported errors due to a great help.
- 2022-01-28 09:34:53下载
- 积分:1
-
简单使用的液晶程序。C语言版。适合52,51系列单片机使用。
简单使用的液晶程序。C语言版。适合52,51系列单片机使用。-LCD easy to use program. C language version. 52,51 Series Single-chip suitable to use.
- 2023-01-25 00:30:03下载
- 积分:1
-
MATLAB工具箱集锦(非官方资料) 希望对于Matlab编程爱好者有所帮助!...
MATLAB工具箱集锦(非官方资料) 希望对于Matlab编程爱好者有所帮助!-MATLAB toolbox items (non-official information) hope for the Matlab programming lovers some help help!
- 2022-01-31 04:52:05下载
- 积分:1
-
轻松入门开发ARM 程序 非常有用 适合初学者
轻松入门开发ARM 程序 非常有用 适合初学者-Introduction to the development of procedures for easy ARM is very useful for beginners
- 2022-03-04 03:37:31下载
- 积分:1
-
软件设计师的考试大纲的复习资料,对准备考软件设计师的非常有帮助。...
软件设计师的考试大纲的复习资料,对准备考软件设计师的非常有帮助。-software designers in the examination of the review, prepared to take on the software designers have been very helpful.
- 2022-05-30 02:51:10下载
- 积分:1
-
Driver for Liquid crystal Display
Driver for Liquid crystal Display
- 2022-01-26 18:27:50下载
- 积分:1
-
C#完成端口
C#完成端口,一个服务器实例源码程序,开源进行进一步修改使用。
- 2022-02-26 04:26:08下载
- 积分:1
-
本文从理论上推导出CRC算法实现原理,给出三种分别适应不同计算机或微控制器硬件环境的C语言程序。读者更能根据本算法原理,用不同的语言编写出独特风格更加实用的CR...
本文从理论上推导出CRC算法实现原理,给出三种分别适应不同计算机或微控制器硬件环境的C语言程序。读者更能根据本算法原理,用不同的语言编写出独特风格更加实用的CRC计算程序。-This paper theoretically CRC algorithm realize the principle of adaptation, respectively, given in three different computer or microcontroller hardware environment of the C language program. Readers more in accordance with this algorithm, using different language to prepare a more practical style of CRC calculation program.
- 2022-07-22 18:43:06下载
- 积分:1