Create the auditing thread object in immortal, running in the heap.
在不朽内存中创建审计线程对象,在堆中运行。
You can use this object to access information about each thread.
可以用这个对象访问每个线程的信息。
You can use this method when waiting on a single thread synchronization object.
当等待单一线程同步对象时,可以使用此方法。
Using the Future object, the current thread can block to wait for the result
利用Future对象,当前线程可阻塞来等待结果
The run() method is called when the Work object is dispatched to another thread.
当Work对象发送到另一个线程时将调用run()方法。
Reset all information in a thread state object. The interpreter lock must be held.
重置指定线程状态对象的所有信息。解释器锁必须捕获。
Create a new thread state object belonging to the given interpreter object.
创建一个从属于给定解释器的新线程状态对象。
Reset all information in a thread state object. The interpreter lock must be held.
重置指定线程状态对象的所有信息。解释器锁必须捕获。 捕获状态解释。
As with implicit locks, only one thread can own a lock object at a time.
同严格实现的锁一样,一个线程一次只能拥有一个锁对象。
This queue allows you to put any object into it, for that matter even Thread.
这个队列允许您将任何物体进入它,为此事甚至线程。
A static instance of an object is not thread safe.
对象的静态实例不是线程安全的。
Lock your object or fields instead to guarantee deterministic and thread-safe access.
锁定对象或域,而不是去保证决定性和线程安全访问。
Optional: It is a good idea to make the object thread-safe.
可选择:让对象线程安全是个好主意。
A thread attempts to acquire a lock on an object that has a weak identity.
线程尝试获取对具有弱标识的对象的锁。
A thread attempts to acquire a lock on an object that has a weak identity.
线程尝试获取对具有弱标识的对象的锁。
应用推荐