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.
由于某些处理可能要占用较长的时间,因而需要为每条生产线使用多个处理线程,确保总有一个线程能来处理最新的度量结果。
Specifically, thread safety is about properly coordinating access to mutable data that is accessed by multiple threads.
具体来说,线程安全是指适当地协调对被多个线程访问的可变数据的访问。
Contended synchronizations are slow because they involve multiple thread switches and system calls.
争用同步之所以慢,是因为它涉及多个线程切换和系统调用。
A particular thread of control works its way through multiple objects in the system.
但也有一个特殊的控制线程是通过系统中的多个对象进行工作的。
In multithreaded applications, for example, if multiple threads access the same resource for reading and writing, thread synchronization problems can occur.
例如,在多线程应用程序中,如果多个线程访问相同的资源进行读写访问,则可能会出现线程同步问题。
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.
数据流系统仅关注数据如何在系统中流动,交由线程来决定如何有效利用多个核心。
Thread pools are far from the only way to use multiple threads within a server application.
线程池远不是服务器应用程序内使用多线程的唯一方法。
A primary concern in multithreaded programming is to make sure the program runs correctly — thread safe — in a system where multiple threads are executing.
多线程编程中的一个主要考虑是确保程序在执行多线程的系统中正确地——线程安全地——运行。
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:告诉事务中的操作是否需要在流程中序列化,或者流程中的多个线程是否可以参与事务分支。
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并将其分配给不同的解决方案来实现隔离。
Mini-httpd handles multiple concurrent requests in a single system thread, while demanding little from its host in the way of memory or CPU.
mini - httpd可以在一个系统线程中处理多个并发请求,但是在主机上占用的内存或CPU很少。
Output: Graphical view of threads, ability to load multiple thread dumps to show thread history.
输出:线程的图形视图、加载多个线程转储以显示线程历史记录的能力。
In most cases, this thread pool does not need to be adjusted because Web container threads are non-blocking and can handle multiple MDM service requests concurrently.
在大多数情况下,无需调整此线程池,因为Web容器线程是无阻塞的,并且可以同时处理多个MDM服务请求。
In the example scenario, a client application running multiple threads calls an EJB component, log1Bean, from each thread.
在这个例子场景中,一个多线程的客户机应用程序从每个线程调用一个EJB组件log1Bean。
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的多线程实例?
The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.
第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。
As previously stated, a single worker thread can't process multiple transactions in parallel.
正如前面提到的,单个工作线程无法并行处理多个事务。
Do you need to single-thread your classes or can you allow WCF to spin up multiple instances simultaneously?
你是否需要让你的类是单线程的?或者允许WCF能够在同一时间有多个实例?
On the other hand, there is nothing that prevents an underfed thread in the "multiple-time-slices" approach from boosting its own priority dynamically.
另一方面,没有什么可以阻止“多时间片”方法中处理不足的线程去动态提高它自己的优先级。
Serial uses a single GC thread, whilst ParNew and Parallel Scavenge both use multiple threads.
连续式使用了一个单独的GC线程,而同新式与并行扫描式都使用了多线程。
By reusing threads for multiple tasks, the thread-creation overhead is spread over many tasks.
通过对多个任务重用线程,线程创建的开销被分摊到了多个任务上。
应用推荐