My mother had said she would take me to travel abroad on the condition that I got better grades.
我妈妈说只要我能取得更好的成绩,她就带我出国旅游。
The company will suffer a great loss on the condition that it is forbidden to exploit this kind of alternative resource.
如果公司被禁止开发这种替代资源,公司将蒙受巨大损失。
The final outcome of the rule depends on the condition evaluation.
规则的最终结果取决于条件的评估。
They agreed to submit — on the condition that two of the accusers take the same test.
他们接受了这个建议——条件是两名原告也要进行这两项测试。
We'd agreed to meet at this safe house on the condition I did not report its location.
在不披露采访地点的前提下,我们同意在这个安全的房间见面。
Based on the condition, the code selects the appropriate type of object to handle the request.
根据条件,代码将选择相应类型的对象来处理请求。
They could have given the loan on the condition that the automakers build cars that reduce global warming.
他们本来可以用拯救贷款交换汽车业生产减少全球变暖的轿车。
Instead of throwing an exception when the queue is empty, the reader thread now blocks itself on the condition variable.
当队列是空的时候,读线程现在并不抛出异常,而是在条件变量上阻塞自身。
The enemy besieged in a few strongholds capitulated on the condition that they would be granted to return home voluntarily.
被围困于少数据点中的敌军已投降,条件是允许他们自愿地回家。
This move by the ECB was done on the condition that Italy meets certain fiscal targets to get its economic house in order.
欧洲央行的这一举措是有条件的:意大利必须实现一些财政目标,恢复本国经济秩序。
Therefore, at the end of it all, you now have two reader threads, both waiting on the condition variable, and the mutex is unlocked.
因此,最后两个读线程都等待条件变量,互斥锁没有被锁住。
"We strongly believe that it should happen," said the diplomat, who spoke on the condition of anonymity to discuss internal deliberations.
“我们强烈的认为这是必须的,”这位外交官在匿名条件下的内部讨论中表示。
It also allows you to unlock the mutex and wait on the condition variable atomically, without the possible intervention of another thread.
它还允许您原子地(atomically)解除互斥的锁定,并等待条件变量,而不会有干涉其他线程的可能。
The sophisticated radar were deployed in Syria last year, the official, who spoke on the condition of anonymity, told Agence France-Presse.
不愿透露姓名的官员告诉法新社称,该先进的雷达于去年在叙利亚已被部署。
Each child was invited into a separate room to draw for 6 minutes then afterwards either given their reward or not depending on the condition.
每个孩子被带到一个单独的房间里作画6分钟,随后根据设定的情境给予或不给他们奖励。
They could have given the loan on the condition that the automakers start building only cars and mass transit that reduce our dependency on oil.
他们本来可以用拯救贷款交换汽车业今后只生产不依赖石油的轿车和公共交通工具。
The Samaritan, his face concealed by a baseball cap, continues to comment on the condition of the van as he removes a fire extinguisher from his trunk.
这个男人的面目被棒球帽遮住,看不清楚,他从自己车后箱拿出一个灭火器,继续闲谈押送车目前的状况。
One Swiss-based business executive, who spoke on the condition ofanonymity because of sensitive family issues, said she weighed the decision for10 years.
一位居住在瑞士的公司主管称,她十年前就在开始考虑放弃国籍了。
The commitment was given on the condition that I keep it in my pocket until it could be formally presented to Syria in the context of a complete solution.
这一承诺的前提是我不得泄露其内容,等问题能得到彻底解决时再正式向叙利亚提出。
HarperCollins has informed libraries that henceforth, ebooks will be sold on the condition that they can only be circulated 26 times before they self-destruct.
柯林斯已经通知图书馆,从今以后,出售电子书的条件是,在它们循环26次之后必须自毁。
France, meanwhile, agreed to give 250 million euros in emergency funds to Renault Trucks, a subsidiary of Volvo AB, on the condition it won't cut French jobs or plants.
与此同时,法国也同意向沃尔沃旗下的雷诺卡车(RenaultTrucks)提供2.5亿欧元紧急贷款,前提是该公司不关闭在法国的工厂或裁减员工。
Next, the reader thread needs to ensure (and this is the second check you perform) that it does not wait on the condition variable any more than the specified timeout period.
接下来,读线程需要确保(这是第二个检查)它等待条件变量的时间不超过指定的超时时间。
And the American expert in nuclear intelligence, who spoke on the condition of anonymity, said the Israelis used machines of the P-1 style to test the effectiveness of Stuxnet.
而美国方面匿名接受采访的核离心机专家说,以色列用P - 1式的机器测试了超级工厂病毒的效力。
One amassed 1,000 people committed to donating millions of dollars toward solving Africa's AIDS epidemic — on the condition that u2 front man Bono would retire from public life.
其中一次获得聚拢了1000人的参与,他们同意捐献数百万美元来解决非洲的艾滋病问题,前提是U2的主唱波诺(Bono)退出公众生活。
Doing so awakens all the reader threads that were waiting on the condition variable _cond; the reader threads now implicitly compete for the mutex lock as and when it is released.
这么做会唤醒所有等待条件变量_ cond的读线程;读线程现在隐式地争夺互斥锁。
I told my captors I'd cooperate on the condition that I would only post the truth - if they wanted me to post anything false or withhold anything true, they'd have to kill me first.
我告诉那些绑架我的人,我愿意与人合作,但我只写事实的真相,如果有谁试图让我写任何虚假的事情,那得先杀了我。
"My parents had no idea," said one of them, a 17-year-old girl who, like other formerly addicted youths interviewed, spoke on the condition of anonymity because of her past drug use.
“爸妈不知道我的事! ”接受采访的17岁吸毒女孩说道。像其他曾经吸毒成瘾的年轻人一样,父母对此并不知情。
“A lot of people are unhappy that the Libertarians are joining up, ” one General Assembly member told us on the condition of anonymity, “and there are some Tea Party people here too.”
“很多人都不满意自由 论者正在联合 ”一个匿名大会成员告诉我们 "还有一些茶党人也在这里。”
“A lot of people are unhappy that the Libertarians are joining up, ” one General Assembly member told us on the condition of anonymity, “and there are some Tea Party people here too.”
“很多人都不满意自由 论者正在联合 ”一个匿名大会成员告诉我们 "还有一些茶党人也在这里。”
应用推荐