请教register# Programming - 葵花宝典
e*e
1 楼
看到个题目:
implement a test-and-set: check if a register is 0 or not. If it is 0,
set it to 1, and return 0
请问应该从何下手?谢谢
implement a test-and-set: check if a register is 0 or not. If it is 0,
set it to 1, and return 0
请问应该从何下手?谢谢