...下文切换对于应用程序的性能影响很大,所以诞生了自旋锁,自旋锁以一种紧凑循环中重复的检测锁是否已经可用,即忙等待(busy wait)的方式代替阻塞,不释放cpu,所以也就不产生线程上下文切换。
基于30个网页-相关网页
非阻塞型的锁就是竞争时不会阻塞的锁,最典型的就是家喻户晓的自旋锁了,在竞争的情况下它会一直自旋,即忙等(busy wait),而不是阻塞。所以 spin lock 是 NBS 的一种。
基于16个网页-相关网页
... be worth the wait 值得等待 busy wait 忙碌等待 cant wait 等不及 ...
基于4个网页-相关网页
busy wait loop 忙等待循环
buffer busy wait 缓冲区忙等待
busy-wait lock 忙等待锁
operator wait on busy 话务员遇忙预占
busy wait
忙等待
以上为机器翻译结果,长、整句建议使用 人工翻译 。
youdao
Although we have to wait longer for our letters, in today's busy world we need something that is worth waiting for.
虽然我们需要等待更长的时间才能收到信,但在今天这个繁忙的世界里,我们需要一些值得等待的东西。
I don't care how busy you are. You don't have enough time to wait.
不要表现得像是你很忙。
"With TSA staffing levels decreasing over time, we expect that during busy travel periods wait times exceeding 30-40 minutes could double at nearly all of the largest airports, " the TSA said in a statement.
CNN: Longer lines at airports due to budget cuts?
Rather than wave and whistle and wait on a busy corner, a user simply fires up the Uber app and demands a ride.
ENGADGET: Uber tackles Taxis in Chicago with Uber Garage experiment
They are so busy, callers are having to wait up to a week to have nests destroyed.
BBC: NEWS | UK | Northern Ireland | Wasps prompt call out rise
应用推荐
模块上移
模块下移
不移动