⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 rtlinux3.0 的源代码
💻
字号:
This example demonstrate the use of mutexes in RTLinux programs.The Linux init_module() function creates a mutex and locks it.Then it creates an RT-thread that also tries to lock the mutex and blocks.After a 500 ms pause, the Linux threads unlocks the mutex, which can now be locked by the RT-thread. The time spent in pthread_mutex_lock is reportedto show that the RT-thread actually blocks.To run the example, type make test. You have to be at a Linux console (no X)to see the results.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -