This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求教SYS/BIOS里面有没有读写锁机制?



在单核使用BIOS的情况下,多线程运行时,MUX可以做到对一段代码的互斥。但是现在遇到的问题是一个线程写一个变量,多个线程去读这个变量,这种机制是读写锁才能解决的?求教Sys/bios下的解决方案