shared variable meaning in English
共享变量
Examples
- The combination of mutual exclusion and memory barriers means that as long as programs follow the correct synchronization rules that is , synchronize whenever writing a variable that may next be read by another thread or when reading a variable that may have been last written by another thread , each thread will see the correct value of any shared variables it uses
互斥独占和内存壁垒结合使用意味着只要您在程序设计的时候遵循正确的同步法则(也就是说,每当写一个后面可能被其他线程访问的变量,或者读取一个可能最后被另一个线程修改的变量时,都要使用同步) ,每个线程都会得到它所使用的共享变量的正确的值。 - In this paper , we propose a strategy for selecting synchronization sequences from java multi - thread program based on the analyzing of reading and writing on shared variable , and implemented a deterministic testing framework of java multi - thread program by using the dynamic proxy class . a reachability testing system of java multi - thread program is constructed by the strategy and the deterministic testing framework
本文提出了一种基于共享变量读写操作分析的java多线程程序同步序列生成策略,采用动态代理类proxy实现了java多线程程序确定性测试框架系统,从而实现了一个java多线程可达性测试系统。