thread safe 中文意思是什麼
thread safe
解釋
多緒安全多線程安全-
Decrement the request counter in a thread - safe manner
介面獲取異步操作的狀態。 -
Because the swing model classes are not thread - safe and are supposed to be confined to the edt, any calls to
因為swing模型類不是線程安全的,而且假設被限制在edt內,所以對 -
And learn which c libraries are thread - safe and can be safely used with apache or ihs in threaded mode
,以及學習哪些c庫是線程安全的,可以在apache或ihs中多線程地安全使用。 -
Class must be thread safe and stateless. the
類的實例必須是線程安全且無狀態的。 -
Immutable objects are guaranteed to be thread - safe, and never require additional synchronization
不可變的對象一定是線程安全的,並且永遠也不需要額外的同步。 -
Instead of double - checked locking, use the initialize - on - demand holder class idiom, which provides lazy initialization, is thread - safe, and is faster and less confusing than double - checked locking
不使用雙重檢查鎖定,而使用initialize - on - demand holder class idiom ,它提供了遲緩初始化,是線程安全的,而且比雙重檢查鎖定更快且沒那麼混亂: -
A quick google search reveals the following examples of typical, but unhelpful definitions or rather descriptions of thread - safe code
快速搜索一下google ,可以找到以下關于線程安全代碼的典型的、但是沒有多大幫助的定義(或者可以說是描述) : -
One thread produces elements and stores them in a generic queue that is not thread - safe
一個線程生成元素並將它們存儲在非線程安全的泛型隊列中。 -
You will need to write your provider code to be thread safe
因此需要編寫線程安全的提供程序代碼。 -
Because thread - safe evidence sets are not supported
因為不支持線程安全證據集,所以總是為 -
Steps to creating efficient thread - safe classes
創建高效的線程安全類的步驟 -
You must ensure that this method is thread safe in situations where the activity object created by activity is not created with a synchronized context, because in such situations many calls to
創建的活動對象不是使用同步上下文創建的,則必須確保該方法是線程安全的,因為在此情況下許多對 -
Doing so will enable thread - compatible objects held as instance variables in other thread - safe objects to piggyback on the synchronization of the owning object
這樣做會使線程兼容的對象作為變量實例包含在其他線程安全的對象中,從而可以利用其所有者對象的同步。 -
Do not use volatile variables. lock your object or fields instead to guarantee deterministic and thread - safe access
不要使用不穩定變量。鎖定對象或域,而不是去保證決定性和線程安全訪問。 -
Thread - safe and efficient - now you can have both
線程安全性和效率現在您可以兼得 -
Other operations are not guaranteed to be thread - safe
其他操作不保證是線程安全的。 -
Creates a thread - safe wrapper around the specified
周圍創建線程安全包裝。 -
Returns a synchronized thread - safe wrapper for a
的同步(線程安全)包裝。 -
Indexer operate in a thread - safe manner
索引器以線程安全方式操作。 -
Needs to be thread - safe, you can wrap the
需要線程安全,那麼可以用
分享友人