Thread synchronization must enter into consideration.
线程同步是必须要考虑的一部分。
How to properly apply thread synchronization in CUDA app?
如何正确应用在CUDA应用程序线程同步吗?
Is this a CUDA thread synchronization issue or something else?
这是CUDA线程同步问题还是其他什么?
You can use this method when waiting on a single thread synchronization object.
当等待单一线程同步对象时,可以使用此方法。
These details underlie higher level topics like thread synchronization and the need for the Core i7.
这些细节是构成诸如线程同步以及酷睿i7处理器的需求这样高水平的内容的基础。
Mutexes provide mutual exclusion for one or more data objects and are the primary method of thread synchronization.
互斥体能让一个或多个数据对象相互排斥。互斥体是线程同步的主要手段。
The features of multi-thread technology are introduced, and the methods of the thread synchronization between the multiple threads are analyzed.
通过阐述多线程技术的特点,分析了多线程间的线程同步机制。
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并不是一个难懂的概念。
In multithreaded applications, for example, if multiple threads access the same resource for reading and writing, thread synchronization problems can occur.
例如,在多线程应用程序中,如果多个线程访问相同的资源进行读写访问,则可能会出现线程同步问题。
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只不过是线程同步对象,类似的信号,因此IOCP不是一个复杂的概念。
This helper thread is responsible for handling many of the inspection services provided by the debugging API, in addition to assisting with thread synchronization under certain circumstances.
此帮助器线程负责处理由调试api提供的许多检查服务,以及在某些情况下协助线程同步。
In this thesis we expatiate on the related virtual memory image map structure in Windows operation system, process and thread synchronization and communication technologies, Windows socket library.
本文详细阐述了视窗系统虚拟内存中相关映像结构,进程与线程同步与通讯,网络套接字接口库。
At the same time, it is insufficient to provide true thread safety, in that many common compound operations still require additional synchronization.
同时,这样仍不足以提供真正的线程安全性,许多公用的混合操作仍然需要额外的同步。
Another way to avoid synchronization issues is to allocate a large chunk of global memory and break it into smaller slots, where each slot is to be used by one thread for logging.
另一种避免同步问题的方法是,分配一个很大的全局内存块,并将其划分为较小的槽位,其中每个槽位都可由一个线程用来进行日志记录。
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.
当在一个等待函数中使用同步对象时,等待函数就会阻塞调用线程,直到同步对象的状态被设置为有信号为止。
In a multiprocessing environment, the processing time for a thread is related to the availability of system resources and synchronization with other threads.
在多处理环境中,线程的处理时间与可用系统资源以及与其他线程的同步有关。
This article describes aspects of RTSJ threading and synchronization by discussing how thread priorities and priority queues are managed.
本文通过讨论如何管理线程优先级和优先级序列来描述RTSJ线程化和同步。
When more than one thread accesses a mutable variable, all threads must use synchronization, or else some very bad things can happen.
在不只一个线程访问一个互斥的变量时,所有线程都必须使用同步,否则就可能会发生一些非常糟糕的事情。
In this example, I don't focus on other issues related to this pattern, such as synchronization to make it thread safe.
在此实例中,我并没有针对其他与此模式相关的问题,如保持同步以确保线程安全。
On the surface it looks as though lock elision allows us to write thread safe code without any synchronization penalty for using in cases where it really wasn't needed.
从表面上看,锁省略似乎可以允许我们不必忍受同步带来的负担,就可以编写线程安全的代码了,前提是在同步的确是多余的情况下。
Priority-based FIFO behavior — as in the earlier synchronization example where the highest-priority thread is chosen to execute next — also applies to the queues of lock contenders and lock waiters.
基于优先级的FIFO行为——在前面的同步示例中,将接着执行具有最高优先级的线程——也适用于锁争用者和锁等待者的队列。
If the synchronization actually requires contending for the lock, the performance penalty is substantially greater, as there will be several thread switches and system calls required.
如果同步时还发生锁定争用,那么性能上付出的代价会大得多,因为会需要几个线程切换和系统调用。
Another possibility is to fork a separate low-priority thread during startup to perform initialization when the system is idle, although this choice requires more care to handle synchronization.
还有一种可能是在启动时派生一个单独的低优先级的线程,当系统空闲时再去完成初始化,不过这种方法需要特别注意处理好同步。
This reduction in contention dramatically reduces the synchronization costs compared to a traditional thread-pool-based approach.
跟传统的基于线程池的方法相比,减少争用会大大降低同步成本。
In the absence of synchronization, it is possible to see an up-to-date value for an object reference that was written by another thread and still see stale values for that object's state.
在缺乏同步的情况下,可能会遇到某个对象引用的更新值(由另一个线程写入)和该对象状态的旧值同时存在。
In the absence of synchronization, if one thread writes to a variable and another thread reads that same variable, the reading thread could see stale, or out-of-date, data.
没有同步时,如果一个线程读取另外一个线程正在写的变量,读的线程将看到过时的数据。
The Thread View also provides synchronization with the UML2 Sequence Diagram view from Hyades.
线程视图也提供UML2序列图视图与Hyades的同步。
BlockingQueue neatly solves the problem of how to "hand off" items gathered by one thread to another thread for processing, without explicit concern for synchronization issues.
BlockingQueue干净利落地解决了如何将一个线程收集的项“传递”给另一线程用于处理的问题,无需考虑同步问题。
BlockingQueue neatly solves the problem of how to "hand off" items gathered by one thread to another thread for processing, without explicit concern for synchronization issues.
BlockingQueue干净利落地解决了如何将一个线程收集的项“传递”给另一线程用于处理的问题,无需考虑同步问题。
应用推荐