ประโยคภาษาจีน : 中文句子 |
---|
rú guǒ 如果 qià 恰 zài 在 zhí xíng 执行 zhī qián 之前 xiàn chéng 线程 shī qù 失去 zhí xíng quán 执行权 nà me 那么 zài xiàn 在线 chéng 程 huī fù 恢复 zhí xíng 执行 zhī hòu 之后 huì 会 shī bài 失败 jì xù 继续 xún huán 循环 zhí dào 直到 yǒu 有 yǒu xiào 有效 de 的 shù jù 数据 kě yòng 可用 wéi zhǐ 为止 |
If there was thread preemption just before CAS, after resumption of the thread, CAS would fail, and the looping would continue until valid data were available. |