This situation is called a race condition and is a common concern in multithreaded programming 這種情況被稱作爭用狀態(tài),它是多線程編程中的常見問題。
Programmers should be able to create multithreaded programs with confidence that they will be reliable and correct 程序員應(yīng)該要有信心創(chuàng)建多線程程序。
By doug lea is a masterful book on the subtle issues surrounding multithreaded programming in java ,是一本圍繞用java編寫多線程程序的微妙問題進行討論的專業(yè)書籍。
The following topics introduce you to some of the considerations and best practices for multithreaded programming 下列主題將向您介紹多線程編程的一些注意事項和最佳做法。
Symptoms : a multithreaded program that locks up , with or without the printing of stack traces to standard error 癥狀:一個鎖定多線程程序,它具有或不具有將堆棧跟蹤打印到標(biāo)準(zhǔn)錯誤。
When you re writing multithreaded programs , you must take great care that no one thread disturbs the work of any other thread 編寫多線程程序時,你必須注意每個線程是否干擾了其他線程的工作。
Addison - wesley , 1999 is a masterful book on the subtle issues surrounding multithreaded programming in java applications ( addison - wesley , 1999年)是一本談?wù)撚嘘P(guān)java應(yīng)用程序中多線程編程的復(fù)雜問題的專著。
In a multithreaded program , threads are obtained from the pool of available ready - to - run threads and run on the available system cpus 在多線程程序中,線程可以從準(zhǔn)備就緒隊列中得到,并在可獲得的系統(tǒng)cpu上運行。