📄 readme
字号:
This example demonstrate the use of mutexes in RTLinux programs.The Linux init_module() function creates three threads that try to competefor the mutex. After successfully locking the mutex, each thread waitsfor 500ms, and then unlocks the mutex.The times spent in pthread_mutex_lock are reportedto show that the RT-threads actually block.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 + -