This context stores the subject and other security information for the executing thread.
这个上下文为正在执行的线程存储主题和其他安全信息。
A single process can work with multiple SPU contexts, but to run on more than one SPU at a given time, the process needs to contain at least one thread for each running SPU context.
一个进程可以使用多个spu上下文,但是要在每个给定的时间点上在多个SPU上运行,这个进程需要包含至少一个每个正在运行的SPU上下文所使用的线程。
Enables multiple collaborating objects to participate in a single transaction, by passing the transactional context as part of the thread.
通过将事务上下文作为线程的一部分进行传递,以允许多个合作对象参与单个事务。
This method will return null if the focus owner is not in the same context as the calling thread.
如果该焦点所有者未和调用线程处于同一个上下文中,那么该方法会返回空。
This is achieved by applying and removing the J2EE context information on and off the thread when the application logic begins and ends.
当应用程序逻辑开始和终止时,这可以通过应用和删除线程内外的J2EE上下文信息来完成。
The parent of this class loader will be the class loader of the current thread context.
类加载器的父类加载器将是当前线程上下文的类加载器。
However, the polling thread will run in a normal process context.
然而,轮询线程是在一个普通进程上下文中运行的。
In these cases, it is desirable to have a component-scoped thread pool, with a fixed J2EE context on each thread.
在这些情况下,需要一个组件范围的线程池,并在每个线程上具有固定的J2EE上下文。
Due to the overhead involved in context switching to a thread or process for any amount of work, systems with small-scope granularity are often inefficient and suffer from low performance.
由于任意工作量的一个线程或进程的上下文切换涉及到的开销较大,小粒度级的系统往往效率低下且遭遇低性能问题。
Each worker thread has the J2EE context of the thread pool creator component applied to it.
每个工作线程都有适用于它的线程池创建程序组件的J2EE上下文。
The server might also want to associate various forms of context with a thread that would be lost when a new thread is spun off.
服务器也可能想把各种形式的上下文都关联到一个线程上,因为产生新线程时,上下文可能会丢失。
When an SPU thread gets created, the library will create a new thread that manages the SPU context asynchronous to the main thread.
在创建一个SPU线程时,这个库就创建一个新线程,它负责管理与主线程异步的spu上下文。
When a transaction is initiated, the transaction context is associated with the executing thread.
当事务启动时,事务上下文与执行线程关联在一起。
And if each thread (ergo network connection) is busy, then the context switching to each thread can be significant.
另外,如果每个线程都忙于处理网络连接,线程之间的上下文切换会很频繁。
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 J2EE context stored with the WWEC is applied to the thread.
将与WWEC 一起存储的J2EE上下文应用到线程。
The context of the thread must be changed each time the thread is reused, which can cause a significant overhead to applications that may be doing very little activity on those threads.
每次重用线程时,都必须更改线程的上下文,对于可能很少在这些线程执行活动的应用程序,开销会特别大。
Out of the box you one based on.net's thread pool system and one that USES the synchronization context framework.
开箱即用的实现就是。NET的线程池系统以及使用了异步上下文的框架。
This requires a context switch to the kernel thread to handle the task of moving data to and from disk.
这要求上下文切换到内核线程,以处理将数据移动到磁盘以及从磁盘移出数据的任务。
Right clicking the thread will show the context menu seen in Figure 33.
右击线程将会显示如图33所示的背景菜单。
Most programs create many temporary objects that are used within the context of a single thread but never escape to the visibility of other threads.
大多数程序所创建的临时对象都用在单独的线程上下文中,很少被其他线程所用。
The J2EE context is removed from the thread and the previous context is reapplied.
从线程删除J2EE上下文,并重新应用以前的上下文。
Diagnostic context lets you associate contextual information with the currently running thread.
诊断上下文让您可以将上下文信息与当前正在运行的线程关联在一起。
Thread context switching is NOT expensive.
线程上下文切换的代价并不大。
This is thrown when the run method is allocated a thread, but either the setup of context failed or the method exited by throwing a runtime exception.
这个异常是在将run方法分配给一个线程时抛出的,但这个异常或者是上下文设置失败,或者是通过抛出运行时异常退出方法。
WebSphere Application Server USES the identity in the security context for the thread of execution when processing the request.
当处理请求时,WebSphereApplicationServer将安全性上下文中的身份用于执行的线程。
To achieve this, the WorkManager takes a snapshot of the J2EE context on the thread when the work is submitted.
为完成此任务,WorkManager在提交工作时会获取线程上J2EE上下文的快照。
KDB always starts in the context of the CPU running the crashing thread.
kdb永远在运行崩溃线程的CPU上下文中启动。
You can use ThreadLocal variables to store any sort of per-request context information using the per-thread-singleton technique described earlier.
您可以通过前面讲述的每线程单子技术用ThreadLocal变量来存储各种每请求(per - request)上下文信息。
A snapshot is taken of the current J2EE application context on the worker thread to restore later after the work completes.
获取工作线程上当前J2EE应用程序上下文的快照,以便在工作完成之后进行恢复。
应用推荐