Create the auditing thread object in immortal, running in the heap.
在不朽内存中创建审计线程对象,在堆中运行。
The specific exception can be retrieved from the thread object.
可从线程对象中检索特定异常。
These threads are associated with a corresponding managed thread object.
这些线程与相应的托管线程对象相关联。
Causes the currently executing thread object to temporarily pause and allow other threads to execute.
暂停当前正在执行的线程对象,让其他线程执行。
Besides the memory required for the thread object, each thread requires two execution call stacks, which can be large.
除了Thread对象所需的内存之外,每个线程都需要两个可能很大的执行调用堆栈。
The value the function receives in this parameter is the value that was passed to the constructor when the thread object was created.
函数在此参数中接收的值是在创建线程对象时传递到构造函数的值。
The rules for references between objects of different lifetimes may prohibit member variables in the thread object itself from containing references to these objects.
具有不同生存期的对象之间的引用规则可能会禁止线程对象自身的成员变量包含对这些对象的引用。
Closing a thread handle does not terminate the associated thread. To remove a thread object, you must terminate the thread, then close all handles to the thread.
关闭一个线程句柄不回结束关联的线程。要移除一个线程对象,你必须结束线程,然后关闭所有的线程句柄。
Also, because the references to the per-thread values are stored in the owning thread object, when the thread gets garbage collected, so can its per-thread values.
而且,因为每线程值的引用被存储在自已的Thread对象中,所以当对Thread进行垃圾回收时,也能对该Thread的每线程值进行垃圾回收。
You can use this object to access information about each thread.
可以用这个对象访问每个线程的信息。
Then we can pass along the locale object with each child thread initiation.
这样我们将可以传递实现每一个子线程初始化的场所对象。
The wait function on the event object blocks the calling thread until its state is set to signaled state.
对事件对象调用的等待函数会阻塞调用线程,直到其状态被设置为有信号状态为止。
You can use this method when waiting on a single thread synchronization object.
当等待单一线程同步对象时,可以使用此方法。
Thread 1 returns this object at //3.
线程1在 //3处返回这个对象。
Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).
同步的方法和代码块允许线程在入口处锁定对象并在出口处解锁(针对方法或代码块)。
This call might fail if the calling thread does not own the mutex object.
如果进行调用的线程并不拥有那个互斥对象,则这个调用可能会失败。
Once the thread has finished with the object, it releases it so that other threads can then gain access.
一旦该线程完成对该对象的处理之后,便释放该对象,以便其他线程可以进行访问。
When the synchronization object is used in one of the wait functions, the wait function blocks the calling thread until the state of the synchronized object is set to signaled.
当在一个等待函数中使用同步对象时,等待函数就会阻塞调用线程,直到同步对象的状态被设置为有信号为止。
As the code in user thread constructor still runs in the caller thread's context, we have a chance to inherit a locale object from the servlet thread when the user thread is being constructed.
因为用户线程构造器中的代码仍然在访问线程的环境下运行,所以在构造用户线程时,我们还有机会从服务线程继承场所对象。
The object pool needs to keep track of the state of each object and to be thread safe.
对象池需要跟踪每个对象的状态,而且应该是线程安全的。
If necessary, a waiting thread is signaled to pick up the newly enqueued object.
如果需要,则通知等待线程选取刚刚进入队列的对象。
This is the object that gets sent from the spawned thread.
这是被从派生线程发送来的对象。
The P1 thread then needs the same object but cannot acquire the lock until the P3 thread has released it.
P1线程需要同一个对象上的锁,但是在P3线程释放它之前,P1无法得到锁。
A low priority thread (at priority P3) acquires the lock on an object and is pre-empted by a higher priority thread (at priority P1), as the specification mandates.
就像规范要求的那样,一个低优先级线程(优先级p3)获取了一个对象的锁,会被一个高优先级(优先级p1)的线程夺取执行权。
GC roots can be found in the root stacks, in thread execution stacks, and in object and class fields.
GC根能在根堆里找到,在线成执行堆,在对象和类域里。
We have already stated that IOCP is nothing but a thread synchronization object, similar to a semaphore, therefore IOCP is not a sophisticated concept.
我们已经知道,IOCP仅仅是一个线程同步对象,有点像信号量(semaphore),因此IOCP并不是一个难懂的概念。
We have already stated that IOCP is nothing but a thread synchronization object, similar to a semaphore, therefore IOCP is not a sophisticated concept.
我们已经知道,IOCP仅仅是一个线程同步对象,有点像信号量(semaphore),因此IOCP并不是一个难懂的概念。
应用推荐