正在加载图片...
Not all locks are equally good Example: Test-and-Set (TAS) locks Example: Ticket locks TAS locks acq(( acqui i: getAndlnc( next ) Fair! succ:=false; while(! succ )i ICC: -cas(L, 0, 1); elI serving; serving 1; 1 Ticket locks= e Unfair! 上n Queue management in banks How to distinguish them? What are the progress-aware abstractions?Not all locks are equally good! How to distinguish them? What are the progress-aware abstractions?
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有