The wait-free side of a WaitFreeQueue is designed to be single-threaded.
WaitFreeQueue的无等待端专门设计成单线程。
An algorithm is said to be wait-free if every thread will continue to make progress in the face of arbitrary delay (or even failure) of other threads.
如果每个线程在其他线程任意延迟(或甚至失败)时都将持续进行操作,就可以说该算法是无等待的。
These classes guarantee that an RT thread, which could be blocked by GC while performing a wait-free operation, won't hold a lock that an NHRT requires in performing a wait-free operation.
RT线程在执行无等待操作时可能被GC阻塞,上述类保证了 RT 线程在执行无等待操作时不会持有NHRT 所需的锁。
W: Let me see if he is free. Would you please sit down and wait for a moment?
W:我看看他现在忙不忙,请你坐下来等一会儿。
If the timeout is zero, then a caller will always wait until a free object is available.
如果超时为零,则调用方将总是等待,直到空闲对象可用为止。
The doctor will be free in ten minutes' time; can you wait that long?
医生再过十分钟就有空了,你能等那么长时间吗?
Receptionist: it should be around that. If you'd like, please feel free to read the magazines while you wait.
接待员:差不多。如果您愿意,可以在等的时候随便看看杂志。
The Bundesliga, Germany's football league, sells cable, satellite and Internet rights separately. And if Germans cannot get live games for free, they simply wait for the highlights.
德甲联盟就将有线电视、卫星电视和网络三种版权分开销售,而且德国人如果看不到免费比赛,就会等待事后的赛事集锦。
You have to find out for yourself, and not wait for me to tell you whether the mind can ever be free.
你必须亲自去发现,不要等我来告诉你心灵究竟能不能自由。
It is so free, I don't have to wait for others, I can go to the places I want to.
那是多么的自由,我不用等其他人,去我想去的地方。
So she made a vow Lying under that tree. That she'd wait for her true love To come set her free. Always waiting for someone To ask for her hand.
所以她躺在树下立誓。等待真爱来给她自由。一直等着愿意牵起她手的人。
A free press is not a luxury that can wait for better times; rather, it is part of the very process which can bring about better times.
新闻自由不是等到时代进步后才能获得的奢侈品,而是推动时代进步的因素之一。
I wait for you for a long time, are you free now?
我等你很久了,你现在有时间吗?
Bundled in warm winter coats, hats and gloves, they wait in the crisp, early morning hours for a free package of canned and fresh food.
他们穿上冬衣,带着帽子和手套保暖,为了获得免费的罐装和新鲜食品,在干冷的清晨排队等上好几个小时。
If you will [would] wait a moment I'll see if Mr Jones is free.
请您稍候片刻,我看看琼斯先生是否有空。
The manager will be free soon—you can wait for her here.
经理很快就有空了—你可以在这里等她。
Also, this helps smooth out bus contention issues — when the bus is full, the program can process the extra buffers rather than wait for the bus to free up.
另外,这有助于缓解总线冲突问题——当总线繁忙时,程序可以处理额外的缓冲区,而不是等待总线空闲下来。
There were only a few radio channels available on which to make calls, and users often had to wait a long time for one to become free.
能通话的频道有限,用户往往要花上很长时间才能等到一个空闲的频道。
Make sure there is at least one free address in the data center of your choice; if not, click add IP and wait for new IP address to become available (Figure 4).
确保您选择的数据中心中至少有一个空闲地址;如果没有,单击addIP,等待新IP地址变得可用(图4)。
Would you wait at the bar until there is a free table?
您先在吧台等一会儿,直到有空桌子好吗?
By the way, I 'm informed to shift my ship to the anchorage and wait for a free berth.
顺便说一下,我接到通知,要把船移到锚地等候空泊位。
I'm informed to shift my ship to the anchorage and wait for a free berth.
我被通知把我的船开到锚地等候空泊位。
This gave me great pain, and I lay still and thought I would wait till night, when with my left hand free I could no doubt get rid of the rest of my bonds.
这使我非常痛苦,我躺着,一动不动,心里想:我将等到晚上,那时,用我已经挣脱的左手,一定能够除去我身上的其他束缚。
The COBOL client code is free to wait for a response, using standard WebSphere MQ APIs, or just return after Posting the request.
COBOL客户端代码可以使用标准WebSphereMQAPI等待响应,也可只要请求发送后就返回。
If you will wait a moment I'll see if Mr Jones is free.
请您稍候片刻,我看看琼斯先生是否有空。
The doctor will be free in ten minutes, cay you wait that long?
医生十分钟后有空,你能等一下吗?
The doctor will be free in ten minutes, cay you wait that long?
医生十分钟后有空,你能等一下吗?
应用推荐