readme
来自「fsmlabs的real time linux的内核」· 代码 · 共 10 行
TXT
10 行
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 + =
减小字号Ctrl + -
显示快捷键?