Thread 2 in Listing 2 is for taking multiple snapshots over the period without issuing the reset monitor command after the initial reset monitor command.
清单2中的线程2用于在整个时间段内拍摄多个快照,在初始复位监控器命令之后没有发出复位监控器命令。
When a thread exits a synchronized block as part of releasing the associated monitor, the JMM requires that the local processor cache be flushed to main memory.
当线程为释放相关监视器而退出一个同步块时,J MM要求本地处理器缓冲刷新到主存中。
Most programmers know that the synchronized keyword enforces a mutex (mutual exclusion) that prevents more than one thread at a time from entering a synchronized block protected by a given monitor.
大多数程序员都知道,synchronized关键字强制实施一个互斥锁(互相排斥),这个互斥锁防止每次有多个线程进入一个给定监控器所保护的同步语句块。
At a later point in time, the reader thread invokes the read operation on the channel (this is also a synchronized method, so the reader thread must acquire the monitor lock before proceeding).
稍后,阅读器线程调用通道上的read操作(这也是一个同步的方法,所以阅读器线程在继续处理之前必须得到监视器锁)。
You can see from this screenshot that the JLAsink monitor has had 9,161 gets made on it and that the requesting thread was blocked trying to obtain the lock 25 percent of the time.
可以从此屏幕截图中看到,JLAsink 监视程序进行了 9,161 次 get,并且请求线程被阻塞,阻止它获得 25%的锁时间。
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
一个线程没有获得特定的监控器,而试图等待一个对象的监控器或通知其他线程等待一个对象的监控器时抛出。
Sensors for almost all materials in the Ex area zone 20 or zone 22 can be delivered as proximity switches up to 80 mm diameter or as used as level monitor with G1 thread.
几乎所有地区的前区20区22号材料,传感器,可提供接近开关到直径80毫米或在一级螺纹g1监视器。
Real time monitor of casing thread makeup torque is one of important means to improve the quality of casing threaded connection during the process of casing-runing.
在下套管作业过程中 ,对套管紧螺纹扭矩的实时监控是提高套管螺纹联接质量的重要方法之一。
This method should only be called by a thread that is the owner of this object's monitor.
即是说要拥有该对象的锁才能调用该函数。
This paper introduces the cause of using multi-thread in industrial monitor software and how to create, terminate a thread. It also introduces how MFC supports multi-thread, etc.
本文概述了工控软件中应用多线程技术的原因,并进而论述了线程与进程的区别、线程的创建、终止、优先级及MFC类库对多线程技术的支持最后;
This paper introduces the cause of using multi-thread in industrial monitor software and how to create, terminate a thread. It also introduces how MFC supports multi-thread, etc.
本文概述了工控软件中应用多线程技术的原因,并进而论述了线程与进程的区别、线程的创建、终止、优先级及MFC类库对多线程技术的支持最后;
应用推荐