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复杂语句中。
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, 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.
最后,要努力保证你有超过一家的候补投资人,如果是这样,相同地你就能顺利上岸。
I did as the guide said, but all I got was a message on the screen saying "Please wait". Finally I rang reception again and was told that there were too many guests on line; try again later.
可一操作,屏幕上出现的总是“请等待”,只好又打电话,得到的答复是上网的客人太多,线路忙,请过一会儿再试。
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所示。
The social network goliath finally confirmed it has 750 million users, a good chunk of whom will probably try that new native video chat feature in the weeks and months to come.
社交网络巨人最近终于确认,目前它已拥有7.5亿用户;其中多数用户很可能会在未来几周乃至几个月内,试用它刚刚推出的视频聊天特性。
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.
这样一来,通过提高广告业务的效率,微软最终将得以实现所需的搜索量,借以试图缩小与谷歌之间的差距。
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 I told her about my affair with Mary Ann, to try and scare her away.
我最终跟她讲了我和玛丽安的事情,想用这事把她吓跑。
Finally, instead of trying hard to be happy, as if that were the sole purpose of life, I would, if I were a boy again, try still harder to make others happy.
最后,假如我又回到了童年,我不会力图为自己谋幸福,好像这就是人生唯一的目的;与之相反,我要更努力为他人谋幸福。
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配置示例,然后告诉您它们在实践中如何工作。
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) 启动。
Today, we finally got our invitation to try this new service, and while it is indeed an interesting micro-blogging service, we wouldn't go as far as calling it a "Twitter killer."
今天,我终于收到使用这一新服务的邀请,尽管这的确是一个有趣的微博客服务,但是我们还不至于给它冠上“Twitter杀手”的头衔。
So - you've finally decided to try out The Twitter and gotten your own little account.
最后,你还是决定尝试使用Twitter,登录你的帐号。
I finally decided to try it because my legs were a bit sore from my hike on Saturday, I figured an hour of stretching would feel really good.
我是由于礼拜六走路走到腿有点酸痛才终于抉择试试看,原来觉得舒展一个小时应该会好很一多。
This example is not really the best code possible, since I might wrap a try/'except' around the connect() call, and perhaps a try/finally to assure conn.close() gets called.
上述示例代码还不是最佳的代码,因为我完全可以围绕connect()调用再放上一个try/'except',也可以再用一个 try/finally来确保 conn.close()被调用。
I've tried several treatments prescribed by my doctor, but nothing has had a lasting effect. I finally decided to try alternative medicine.
我试了医生给我开的好几种药,但都没有长久的效果,最终我决定试试一些替代疗法。
Finally, try to take part in all kinds of activities to get out of your solitude and get on well with your classmates.
最后,试着去参加各种各样的活动,你的孤独,和你的同学相处得很好。
So where ever the message trees are created, clear them out in the try - finally block.
因此,任何时候创建消息树时,都要将其清除出try - finally块。
So where ever the message trees are created, clear them out in the try - finally block.
因此,任何时候创建消息树时,都要将其清除出try - finally块。
应用推荐