Thread pools are far from the only way to use multiple threads within a server application.
线程池远不是服务器应用程序内使用多线程的唯一方法。
Output: Graphical view of threads, ability to load multiple thread dumps to show thread history.
输出:线程的图形视图、加载多个线程转储以显示线程历史记录的能力。
Serial uses a single GC thread, whilst ParNew and Parallel Scavenge both use multiple threads.
连续式使用了一个单独的GC线程,而同新式与并行扫描式都使用了多线程。
Contended synchronizations are slow because they involve multiple thread switches and system calls.
争用同步之所以慢,是因为它涉及多个线程切换和系统调用。
Specifically, thread safety is about properly coordinating access to mutable data that is accessed by multiple threads.
具体来说,线程安全是指适当地协调对被多个线程访问的可变数据的访问。
In the example scenario, a client application running multiple threads calls an EJB component, log1Bean, from each thread.
在这个例子场景中,一个多线程的客户机应用程序从每个线程调用一个EJB组件log1Bean。
The features of multi-thread technology are introduced, and the methods of the thread synchronization between the multiple threads are analyzed.
通过阐述多线程技术的特点,分析了多线程间的线程同步机制。
The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.
第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。
A primary concern in multithreaded programming is to make sure the program runs correctly — thread safe — in a system where multiple threads are executing.
多线程编程中的一个主要考虑是确保程序在执行多线程的系统中正确地——线程安全地——运行。
In multithreaded applications, for example, if multiple threads access the same resource for reading and writing, thread synchronization problems can occur.
例如,在多线程应用程序中,如果多个线程访问相同的资源进行读写访问,则可能会出现线程同步问题。
As the official documentation states, invoking Swing code from multiple threads risks thread interference or memory-consistency errors (see Resources).
如官方文档所述,从多线程中调用Swing代码会造成线程冲突或内存一致性错误(参见参考资料)。
Is a new thread instance created for each call to a service, like there are multiple thread instances of the same servlet for each HTTP request addressed to it?
每一次服务调用都创建一个新的线程实例吗,类似于每一个http请求同一个servlet的多线程实例?
For the multiple thread devices, the semiconductor body is either a layer on one or more of the threads or an elongated body disposed between two of the threads.
对于多线器件,半导体基体是位于一条或多条线上的层或设置于其中两条线之间的延长型基体。
Thread of control: Tells if the operations in a transaction need to be serialized in the process, or if multiple threads in a process can participate in the transaction branch.
Threadofcontrol:告诉事务中的操作是否需要在流程中序列化,或者流程中的多个线程是否可以参与事务分支。
Enable much more versatile multi-threading. Resources can be created from any thread and there are several ways to prepare draw call submission from multiple threads in parallel.
启用更多通用的多线程。资源可以在任何线程中创建。此外,我们有几种方法能从并行的多线程中调用将要做的提交。
Texture baking using multiple threads: You can use the Bake Optimization feature to select between baking using one thread per object or baking using multiple threads per object.
多线程烘焙贴图:你可以使用烘焙优化特性来选择是每个物体使用一个线程烘焙还是每个物体多线程烘焙。
If multiple threads were specified for one or more thread Groups, then the same message set would have been sent multiple times, defeating the purpose of the random selection criterion.
如果对于一个或者多个ThreadGroup指定多个线程,那么相同的消息集合将会被发送多次,这将违背随机选取准则的目标。
This (I hope) will be unique within the scope of the trace, and the combination of thread ID and random number should afford you uniqueness across multiple JVMs.
它(我希望如此)在跟踪的范围内将是唯一的,而线程ID和随机数的组合应该能够满足跨越多个JVM的唯一性。
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用于在整个时间段内拍摄多个快照,在初始复位监控器命令之后没有发出复位监控器命令。
Enables multiple collaborating objects to participate in a single transaction, by passing the transactional context as part of the thread.
通过将事务上下文作为线程的一部分进行传递,以允许多个合作对象参与单个事务。
A (very weak) "real-time" variant on this might go as far as returning the multiple copies of important threads scattered throughout the thread list.
这里的一个(非常弱的)“实时”变量最多可能返回散落在线程列表中各处的重要线程的多个副本。
A single thread pool can therefore be used by multiple applications.
因此,单个线程池可以由多个应用程序使用。
Because some processing can take a long time, we need multiple processing threads per production line to make sure that a thread is always available to work on the latest measurement.
由于某些处理可能要占用较长的时间,因而需要为每条生产线使用多个处理线程,确保总有一个线程能来处理最新的度量结果。
A particular thread of control works its way through multiple objects in the system.
但也有一个特殊的控制线程是通过系统中的多个对象进行工作的。
Depending on trace volume, buffer size, and the bandwidth of the output device, multiple buffers might be allocated to a given thread to keep pace with trace data that is being generated.
根据跟踪量、缓冲区大小和输出设备的带宽,可以将多个缓冲区分配给给定的线程,从而与生成跟踪数据的速度相匹配。
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上下文所使用的线程。
For example, concentrating or multiplexing multiple connections on a single thread allows for a reduction in the number of overall threads.
例如,将多个连接分插或集中到一个线程上,可以减少总线程数。
Dataflow systems focus purely on how the data flows through the system, leaving it up to the thread scheduler to determine how to efficiently make use of multiple cores.
数据流系统仅关注数据如何在系统中流动,交由线程来决定如何有效利用多个核心。
Asynchronous beans provides an efficient and safe global thread pool that can be used by multiple applications.
异步bean提供可以由多个应用程序使用的有效而又安全的全局线程池。
Each WorkManager has its own thread pool, so that you achieve isolation by creating multiple WorkManagers and assigning them to different solutions.
每个WorkManager都有自己的线程池,以便您通过创建多个WorkManagers并将其分配给不同的解决方案来实现隔离。
应用推荐