Gets the operating system thread identifier upon which this MDA is executing.
获取此MDA执行时使用的操作系统线程标识符。
The two objects must be created and instantiated before managed code can execute on an operating system thread.
必须在托管代码可在操作系统线程上执行之前对这两个对象进行创建和实例化。
However, some tasks have thread affinity - that is, they depend on the identity of a physical operating system thread.
不过,有些工作有执行绪相似性,也就是说,它们是相依于实体作业系统执行绪的识别。
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很少。
A host that provides its own thread management can move an executing task from one physical operating system thread to another at any time.
自行提供执行绪管理的主机可以随时将执行工作从其中一个实体作业系统执行绪移到另一个执行绪。
Notifies the host that managed code is exiting the period in which the current task must not be moved to another operating system thread, following an earlier call to BeginThreadAffinity.
通知宿主托管代码正在进入不能在其间将当前任务移动到另一个操作系统线程的周期。
One way of addressing this is to make testing thread allocation and management part of your regular system test.
解决这个问题的一种方法是将线程分配和管理的测试作为您的常规系统测试的一部分。
In a userpace thread system, this means that all the threads in a process are blocked as well.
在用户态的线程系统中,这意味着这个进程中的所有线程也都会阻塞。
Each CPU on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.
系统上的每个CPU都有自己专用的运行队列,该队列是按线程优先级值排序的可运行线程的列表。
First, it initializes those system classes that don't require thread support by executing their static initializers.
首先,它初始化这些系统类不需要线程支持来执行这些静态的初始化。
In a multiprocessing environment, the processing time for a thread is related to the availability of system resources and synchronization with other threads.
在多处理环境中,线程的处理时间与可用系统资源以及与其他线程的同步有关。
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.
如果同步时还发生锁定争用,那么性能上付出的代价会大得多,因为会需要几个线程切换和系统调用。
Contended synchronizations are slow because they involve multiple thread switches and system calls.
争用同步之所以慢,是因为它涉及多个线程切换和系统调用。
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.
还有一种可能是在启动时派生一个单独的低优先级的线程,当系统空闲时再去完成初始化,不过这种方法需要特别注意处理好同步。
If a thread pool is too large, the resources consumed by those threads could have a significant impact on system performance.
如果线程池太大,那么被那些线程消耗的资源可能严重地影响系统性能。
All components that run in the same process are instantiated in the UI thread, and system calls to each component are dispatched from that thread.
运行于同一个进程中的所有组件都是在UI线程中实例化的,对每个组件的系统调用也都是由UI线程分发的。
Most system management tools still require you to refer to the process rather then the thread.
大多数系统管理工具仍要求参考进程而不是线程。
A primary concern in multithreaded programming is to make sure the program runs correctly — thread safe — in a system where multiple threads are executing.
多线程编程中的一个主要考虑是确保程序在执行多线程的系统中正确地——线程安全地——运行。
The operating system scheduler determines which thread gets control of the mutex next-typically, the reader thread that has waited the longest gets to read the data first.
操作系统调度程序决定哪个线程获得对互斥锁的控制权—通常,等待时间最长的读线程先读取数据。
There is significant overhead to suspending and rescheduling a thread, which involves work by the JVM, operating system, and hardware.
暂挂和重新调度线程的开支很显著,其中包括JVM、操作系统和硬件的工作。
The system detects that the P3 thread is holding a lock required by the P1 thread and elevates its priority to P1 until the lock is released.
如果系统检测到P 3线程正在持有一个P 1线程需要的锁,则会把P 3线程的优先级置为P1,直到它释放了锁。
When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.
释放锁以后,系统从争用者的最高优先级队列的前端选择线程,以便试图锁定对象。
Out of the box you one based on.net's thread pool system and one that USES the synchronization context framework.
开箱即用的实现就是。NET的线程池系统以及使用了异步上下文的框架。
Unfortunately, it is difficult to estimate the amount of concurrency supported by a single dispatcher thread on this kind of system.
遗憾的是,难以评估这种系统中单个调度程序线程支持的并发数。
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.
数据流系统仅关注数据如何在系统中流动,交由线程来决定如何有效利用多个核心。
The inability to step in and unwind large and complex institutions before they fail and become the thread that unravels the fabric of the system.
在大而复杂的金融机构倒闭并成为使整个金融系统崩溃的多米诺骨牌中的一块前无法介入。
The inability to step in and unwind large and complex institutions before they fail and become the thread that unravels the fabric of the system.
在大而复杂的金融机构倒闭并成为使整个金融系统崩溃的多米诺骨牌中的一块前无法介入。
应用推荐