Soft token staleness question

看板DFBSD_kernel作者時間15年前 (2010/05/28 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
--0016367fbad47c0372048798218e Content-Type: text/plain; charset=UTF-8 Hi, Why is lwkt_token_is_stale if 0-ed out? If I understand the motivation behind tokens, higher level code can take it an call lower level code which can block. But without the ability to check staleness, how you know if lower level code blocked and allowed your assumptions made under the token earlier to be invalidated? Thanks, -- vs --0016367fbad47c0372048798218e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,<div><br></div><div>Why is lwkt_token_is_stale if 0-ed out?</div><div><b= r></div><div>If I understand the motivation behind tokens, higher level cod= e can take it an call lower level code which can block. But without the abi= lity to check staleness, how you know if lower level code blocked and allow= ed your assumptions made under the token earlier to be invalidated?</div> <div><br></div><div>Thanks,</div><div>-- vs<br> </div> --0016367fbad47c0372048798218e--
文章代碼(AID): #1B_iYrXf (DFBSD_kernel)
文章代碼(AID): #1B_iYrXf (DFBSD_kernel)