Study on spin lock test in Nucleus PLUS
Study on spin lock test in Nucleus PLUS
Blog Article
Nucleus PLUS is a new generation of embedded real-time multitasking operating system kernel.In the multi-core operating system environment,multiple tasks simultaneously access the kernel at the same time,and the spin lock can handle the synchronization and Hair Styling mutual exclusion that exist between different processors.However, if the spin lock is used improperly, that can easily cause a deadlock,and the application layer function can not be realized.
So the spin lock test is very necessary.Through the study of the spin lock mechanism,this paper provides a test method Candles for the spin lock to avoid the spin lock in the use of deadlock.