時間掛起線程 的英文怎麼說
中文拼音 [shíjiānguàqǐxiànchéng]
時間掛起線程
英文
cpu- 時 : shí]Ⅰ名1 (比較長的一段時間)time; times; days:當時at that time; in those days; 古時 ancient tim...
- 間 : 間Ⅰ名詞1 (中間) between; among 2 (一定的空間或時間里) with a definite time or space 3 (一間...
- 掛 : Ⅰ動詞1 (使物體附著于某處) hang; put up; suspend 2 (中斷電話) ring off 3 [方言] (接通電話; 打...
- 起 : 起Ⅰ動詞1 (站起; 坐起) rise; get up; stand up 2 (取出; 取走) draw out; remove; extract; pull 3...
- 線 : 名詞1 (用絲、棉、金屬等製成的細長的東西) thread; string; wire 2 [數學] (一個點任意移動所構成的...
- 程 : 名詞1 (規章; 法式) rule; regulation 2 (進度; 程序) order; procedure 3 (路途; 一段路) journe...
- 時間 : time; hour; 北京時間十九點整19 hours beijing time; 上課時間school hours; 時間與空間 time and spac...
-
Method. the method suspends the currently executing thread for a given number of milliseconds
該方法將當前正在執行的線程掛起指定的時間(毫秒) 。The currently executing thread is suspended when its time slice elapses, and another thread resumes running
當前執行的線程在其時間片結束時被掛起,而另一個線程繼續運行。Sun could always make it a run - time exception for suspend to be called if the receiving thread is holding any locks, or better yet, defer the actual suspension until the thread gives up its locks
的一個運行時間異常處理( run - time exception ) ;或者更好的方法是,延遲實際的掛起過程,直到線程釋放所有的鎖。Because most garbage collection algorithms stop the world for some period of time, a single - threaded garbage collector can quickly become a scalability bottleneck, because all but one processor are idle while the garbage collector has suspended the user program threads
因為大多數垃圾收集演算法會在一段時間里使系統停止,單線程的收集器很快會成為伸縮性瓶頸,因為在垃圾收集器將用戶程序線程掛起時,除了一個處理器之外,其他的處理器都是空閑的。Suspends the current thread for a specified time
將當前線程掛起指定的時間。If you must use these methods, reduce the window of time and minimize the amount of code that executes while the thread is in a suspended state
如果您必須使用這兩種方法,則請縮短使用時間並最大限度地減少在線程處于掛起狀態時執行的代碼量。分享友人