To ensure that locks are released, simply pair every lock method with an unlock method, which should be placed in a try-finally block. This is illustrated in Listing 4.
要保证锁得到释放,我们只需要在每一个lock之后对应执行一个unlock方法,而且它们应该置于try - finally复杂语句中。
Finally, if you do not get a satisfactory result, try not to get too angry.
最后,如果你没有得到一个满意的结果,尽量不要太生气。
Try our best and finally get the victory—it is the best thing in the world.
尽我们最大的努力,最终取得胜利,是世界上最好的事情。
I will try to show several ways to solve this problem, and finally the simplest solution I've found.
我将展示这个问题的几种解决办法,最终是我找到的最简单的解决办法。
Finally, if nothing about your work itself can motivate you, then try a bribe!
最后,如果工作本身没办法给你激励,那么试试看贿赂自己吧!
Finally, try to get your AD placed in the most prominent position possible under each heading.
最后,尽量把广告放在每个标题下最突出的位置。
It had taken her awhile, and this was her third try at chemo, but finally she'd reached the magic number that would get her a ticket home.
这可不容易,这是她的第三次化疗,她终于达到了那个不可思议的数字,那是她被准许回家的门票。
Finally, try to ensure you have more than one investor interested, if you can, in the same way you might on an exit.
最后,要努力保证你有超过一家的候补投资人,如果是这样,相同地你就能顺利上岸。
Finally, we try to find topics that will draw on the power of technology.
最后,我们还会努力挑选出将会借助技术之力的课题。
Shen Xue and Zhao Hongbo, who came out of retirement last year to try for an Olympic gold medal, finally got their wish Monday.
申雪和赵宏博,去年退役,今年再次向奥林匹克金牌发起冲锋,终于在星期一如愿以偿。
Finally try entering a date of birth that would imply the person registering was less than 18 years of age.
最后,试着输入出生日期,使注册人的年龄小于18岁。
Finally, you can also try Ubuntu 11.04 within Windows using Wubi.
最后,您也可以尝试在Windows中使用wubi软件来运行ubuntu11.04。
Finally, try making the DELETE request without supplying an IATA code, as shown in Listing 15.
最后,试着发出一个不带有IATA代码的DELETE请求,如清单15所示。
Finally, try to make sure you're using the most current version of autoconf.
最后,尽量确保您使用的是最新版本的autoconf。
Finally, if nothing works, you should try a people search service like Pipl and Spokeo - both services let you perform reverse email lookups but Spokeo has a more comprehensive database than Pipl.
最后,如果上面的方法都没有效果,您应该试试人物搜索服务,如Pipl与Spokeo——两者都可以进行反向电邮查询,但Spokeo的数据库较为详尽。
That will finally give Microsoft the volume of search queries it needs to try narrowing the gap with Google by making its ad business more efficient.
这样一来,通过提高广告业务的效率,微软最终将得以实现所需的搜索量,借以试图缩小与谷歌之间的差距。
"I must try this," Dumbledore said finally.
“我必须试一试。”邓布利多终于说道。
Finally if you find that you need something even more chill than Ivy, try your hand at making an ultra-low maintenance moss terrarium.
最后,要是你发现你需要一种比常春藤还要耐寒的植物,试试动手做一个可以在超低温下生存的苔类景观箱吧。
But in a desperate attempt to have children of their own, the couple gave it one last try and on one lucky Sunday afternoon in July 2009, Julia's pregnancy test finally came back positive.
就在他们对怀上一个属于自己的孩子近乎绝望时,他们做了“最后的尝试”,结果在2009年六月一个幸运的星期日下午,朱莉娅的验孕结果出来了:她怀孕了。
Finally, central Banks can try to circumvent the zero lower bound by buying long-term debt.
最后,央行可以试着通过购买长期债来绕过不能低于零利率的约束。
Finally I told her about my affair with Mary Ann, to try and scare her away.
我最终跟她讲了我和玛丽安的事情,想用这事把她吓跑。
Finally, she got her license - on her 960th try.
最后,她拿到了驾照——在她的第960次考试之后。
Finally, never try to close the deal too soon.
最后,决不要把生意做的太急。
Finally, try to clear your system with a bowel movement before you run.
最后,在你跑之前尽可能把肠排空。
Finally, I'll try some WS-Policy configuration examples for Axis2, Metro, and CXF and tell you how they work in practice.
最后,我将针对Axis2、Metro和CXF尝试一些WS - Policy配置示例,然后告诉您它们在实践中如何工作。
Google Chrome has been released and you can now finally try it.
GoogleChrome已经发布,现在终于可以试试看了。
The order the server will try to boot from is the first local disk (hdisk0), then by CD (cd0), and finally by tape (rmt0).
服务器将尝试启动的介质顺序是第一本地磁盘 (hdisk0),然后是光盘 (cd0),最后通过磁带 (rmt0) 启动。
The order the server will try to boot from is the first local disk (hdisk0), then by CD (cd0), and finally by tape (rmt0).
服务器将尝试启动的介质顺序是第一本地磁盘 (hdisk0),然后是光盘 (cd0),最后通过磁带 (rmt0) 启动。
应用推荐