blocking operation
常見例句
- If a thread performs a blocking operation, the operating system will throw away its unused time slice and let other threads execute instead.
如果某個(gè)線程執(zhí)行了阻塞型的操作,操作系統(tǒng)將剝奪其未使用的賸餘時(shí)間片竝讓其它線程開始執(zhí)行。
coollye.blog.163.com - The ideal number is one per processor, but that implies that none of these threads should execute a blocking operation such as a synchronous read/write or a wait on an event.
理想的情況是,線程數(shù)量等於処理器的數(shù)量,不過這也要求任何線程都不應(yīng)該執(zhí)行諸如同步讀寫、等待事件通知等阻塞型的操作,以免線程阻塞。
blog.sina.com.cn - Unlocking the mutex happens immediately, but waiting on the condition mycond is normally a blocking operation, meaning that our thread will go to sleep, consuming no CPU cycles until it is woken up.
對互斥對象解鎖會(huì)立即發(fā)生,但等待條件 mycond 通常是一個(gè)阻塞操作,這意味著線程將睡眠,在它囌醒之前不會(huì)消耗 CPU 周期。 - "It's important to note cities, counties and municipalities still have the ability to express their opposition to processing facilities by blocking their construction and operation at the local level, " the governor said.
NPR: Okla. Governor Signs Horse Slaughter Legislation - Throughout his tenure as prime minister, Israel never once launched a sustained operation aimed at blocking Hamas, Fatah and their sister organizations in Gaza from transporting ever more lethal weapons systems into the area through its border with Egypt.
CENTERFORSECURITYPOLICY: Remembering Olmert's true record - It got its budget rebate, stayed out of the Schengen free-travel area, opted out of the euro, stayed half-out of co-operation on judicial and police affairs and is blocking attempts to create stronger common defence and foreign policies.
ECONOMIST: Charlemagne 返回 blocking operation