事件内核对象是一种同步多线程的内核对象。
Event kernel object is a kind of kernel objects to synchronize threads.
同步多线程可以确保同步地利用所有不同的单元。
Simultaneous Multi-Threading ensures that all different units are utilized simultaneously.
通过状态变量来同步多线程是一种很流行的方法。
A popular method of synchronizing multiple threads is through the use of condition variables.
POWER5体系结构的特色之一是同步多线程技术。
The POWER5 architecture features the Simultaneous Multi-Threading technology.
图4显示了同步多线程环境中处理器周期的一个执行示例。
Figure 4 shows a sample execution of processor cycles in a Simultaneous Multi-Threading environment.
这一点是广为认可的,因此在POWER5系统中引入了同步多线程。
This emphasis was recognized and Simultaneous Multi-Threading was introduced in POWER5 systems.
为了讨论同步多线程,您需要了解单线程执行过程在处理器中的正常执行。
In order to discuss Simultaneous Multi-Threading, you need to understand the normal execution of a single-threaded execution in a processor.
在POWER 5中,对于每个处理器,您最多可以拥有两个同步多线程的线程。
In POWER5, you can have a maximum of two Simultaneous Multi-Threading threads per processor.
要在多线程环境中强制此保证,需要一个锁来同步线程。
To enforce this guarantee in a multithreaded environment requires a lock to synchronize threads.
在访问一个公共的资源时,同步始终是多线程程序不可缺少的部分,日志记录也不例外。
Synchronization has always been an indispensable part of multi-threaded programs while accessing a common resource, and logging is no exception.
这种类型的无限循环有时是由于多线程访问共享的不同步的数据结构造成的。
This type of infinite loops can sometimes occur due to multithreaded access into a Shared unsynchronized data structure.
第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。
The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.
例如,在多线程应用程序中,如果多个线程访问相同的资源进行读写访问,则可能会出现线程同步问题。
In multithreaded applications, for example, if multiple threads access the same resource for reading and writing, thread synchronization problems can occur.
和多线程一起使用时,必需使用某种类型的同步。
When used with multiple threads, you must use some type of synchronization.
如果在多线程环境中运行应用程序,那么您需要确保解析器池是同步的。
If your application runs in a multi-thread environment, you need to make sure that your parser pool is synchronized.
在这期的5件事系列中,我将通过同步方法、volatile变量和原子类介绍多线程编程的一些更隐晦的方面。
In this installment of the 5 things series, I introduce some of the subtler aspects of multithreaded programming with synchronized methods, volatile variables, and atomic classes.
最后,DOM实现通常包括许多同步代码以使多线程化访问安全。
Finally, DOM implementations generally include a lot of synchronization code to make multithreaded access safe.
它们可能涉及到多线程,或者简单的为同步更新提供一个切入点。
They might involve multithreading, or they might simply provide an entry point for synchronous updates.
这个产品比起以往的版本在多线程方面更加强大,而在某些情况下线程间的同步则稍微逊色。
The product is a lot more multi-threaded than previous versions and in some cases synchronization between threads was less than great.
在多处理器计算机上,系统能以多线程同步执行,因为有多个处理器在机器上。
On a multiprocessor computer, the system can simultaneously execute as many threads as there are processors on the computer.
因此,在网关的实现过程中,会涉及到多路呼叫的资源分配与维护、多线程的处理与同步、呼叫状态的迁移与超时处理等问题。
So there are some related problems to be solved, such as the allocation and management of multi calls, the synchronization of multi threads, the state transference and time-out processing.
多线程分发很容易产生同步问题,它产生多个可能互相干扰的事件处理线程。
Multiple-threaded dispatching can easily raise synchronization issues. It generates multiple event processing threads, which might interfere with each other.
介绍了CORBA中的四种异步激发方式:多线程方式、单向异步激发方式、延迟同步激发方式以及异步方法调用方式,并讨论了各种异步激发方式的优缺点。
In this article, we introduce four kinds of asynchronous invocation way in CORBA:Multithread, Oneway, Deferred Synchronous and AMI. We also discuss their advantages and disadvantages.
我们将要结束这章简单的看一下在他们的共享资源中用有效的同步机制去防止来自多线程。
We'll conclude the chapter with a look at the synchronization mechanisms available to prevent multiple threads from viewing inconsistencies in their Shared resources.
如果必须用多线程处理同一对象,则应该执行适当的同步机制,如临界区。
If you must have multiple threads manipulate the same object, you should implement the appropriate synchronization mechanisms, such as critical sections.
如果必须用多线程处理同一对象,则应该执行适当的同步机制,如临界区。
If you must have multiple threads manipulate the same object, you should implement the appropriate synchronization mechanisms, such as critical sections.
应用推荐