Because of the single thread model described above, it's vital to the responsiveness of your application's UI that you do not block the UI thread.
根据对以上单线程模式的描述,要想保证程序界面的响应能力,关键是不能阻塞UI线程。
Methods that do not block but that still may take a long time to execute can respect requests for interruption by polling the interrupted status and return early if interrupted.
对于中断请求,不阻塞但是仍然要花较长时间执行的方法可以轮询中断状态,并在被中断的时候提前返回。
"Mom, you do not block rain for me," I said anxiously, "continue like this, you'll catch a cold!"
“妈妈你不要为我遮雨了,”我焦急地说到,“再这样下去,你会感冒的!”
This entrance is in constant use; do not block it.
这个入口经常使用,不要挡住。
Please do not block its ventilation hole or hinder its heat dissipation.
切勿阻塞本机散热孔或阻碍本机散热。
The overloads of this method do not block while authentication is in progress.
进行身份验证时,此方法的重载方法不会阻止。
Cellular membranes do not block the movement of alcohol molecules throughout the body.
细胞膜不阻碍酒精分子在你身体中的运动。
Please do not block the air inlet or outlet in case of reducing purifying effect and damaging the product.
不要堵塞进风口或出风口,以免降低净化效果和损坏产品。
A few special powers or terrain types might block line of effect: they prevent attacking a space, but they do not block line of sight to that space.
极少数特殊威能或地形类型会阻断效应线:它们会阻止攻击某处,但不会阻挡该处的视线。
Even under wet conditions, they do not block fine filters, even at elevated temperatures, and have excellent compatibility with black and non-ferrous metals.
即使在潮湿的条件下,它们也不会堵塞精细的过滤器,即使在高温下,仍具有与黑色和有色金属极佳的相容性。
According to the complaint, sunscreens protect against UVB rays, but research indicates that they do not block all UVA rays, which can cause skin cancer, aging and wrinkling.
根据指控,防晒产品虽可防护紫外线B射线,但研究显示它们并不能阻挡所有的紫外线A射线,后一种射线可能造成皮肤癌、老化和皱纹。
禁止堵塞十字路口。
Do not block seats with bags and materials.
不要用包和材料占据座位。
Please queue up to purchase tickets and visit in an orderly fashion. Do not block the entrances or roads.
自觉遵守参观游览秩序,顺序购票入馆入园,不拥挤、不堵塞道路和出入口。
Please queue up to purchase tickets and visit in an orderly fashion. Do not block the entrances or roads.
自觉遵守参观游览秩序,顺序购票入馆入园,不拥挤、不堵塞道路和出入口。
应用推荐