variable adj. 1.易變的,變化無常的,無定的 (opp. constant, steady)。 2.可變的,能變的;變換的。 3.【數(shù)學(xué)】變量的;【天文學(xué)】變光的;【生物學(xué)】變異的。 Prices are variable according to the exchanges. 物價跟著匯率變動。 a man of variable character 反復(fù)無常的人。 a rod of variable length (伸縮)如意棒。 a word of variable construction 可以作種種解釋的詞。 variable capital 可變資本。 a variable budget 臨時預(yù)算。 n. 1.易變的東西。 2.【數(shù)學(xué)】變量,變數(shù),變項,變元 (opp. constant);【天文學(xué)】變星 (=variable star);【航?!?方向不定的)變風(fēng),不定風(fēng) (opp. trade wind); 〔pl.〕 (貿(mào)易風(fēng)帶中的)變風(fēng)帶。 adv. -ably ,-ness n.
Maintain a shared variable across all test iterations in a load test 在負載測試中的所有測試迭代間維護一個共享變量。
Locks around shared variables allow java threads to quickly and easily communicate and synchronize 給共享變量上鎖就使得java線程能夠快速方便地通信和同步。
Some very strange things can happen if you fail to synchronize when accessing shared variables 如果在訪問共享變量的時候沒有同步的話,就會發(fā)生一些奇怪的事情。
You will be able to share variables among the scripted action script and the prefix and suffix scripts 可以在scripted action腳本與前綴腳本和后綴腳本間共享變量。
In the preceding example , the compiler generates a warning message both times the code accesses the shared variable 在前面的示例中,編譯器在代碼通過實例訪問共享變量
Volatile variables can also be used to store shared variables at a lower cost than that of synchronization , but they have limitations 還可以使用可變變量來以比同步更低的成本存儲共享變量,但它們有局限性。
A shared variable or event is stored in memory only once , no matter how many or few instances you create of its class or structure 共享變量或事件只能在內(nèi)存中存儲一次,而無論您創(chuàng)建多少個它的類或結(jié)構(gòu)的實例。
Unfortunately , this situation is a common use case for volatile - using a volatile field as a " guard " to indicate that a set of shared variables had been initialized 不幸地,這是volatile常見用例用一個volatile字段作為“守護”表明已經(jīng)初始化了一組共享變量。
In particular , nearly every modern processor has instructions for updating shared variables in a way that can either detect or prevent concurrent access from other processors 特別是,幾乎每個現(xiàn)代處理器都有通過可以檢測或阻止其他處理器的并發(fā)訪問的方式來更新共享變量的指令。
Developers may find use for atomic variables directly as a higher - performance replacement for shared counters , sequence number generators , and other independent shared variables that otherwise would have to be protected by synchronization 開發(fā)人員可以直接將原子變量用作共享計數(shù)器、序號生成器和其他獨立共享變量的高性能替代,否則必須通過同步保護這些變量。