The best that this article has to offer are some insights into what maybe going on if your multi-threaded performance isn't quite what you hoped it would be.
当你的多线程应用的性能没有符合你的期望的时候,这篇文章能够为你提供了一些思考问题的启示。 而这就是此文最大的价值所在。
We added locking for multi-threaded programs.
我们为多线程程序添加锁。
For some languages that already had multi-threaded programming APIs, this meant creating better APIs and abstractions to make multi-threaded programming easier to understand and less error-prone.
对于某些已经具有多线程编程api的语言,这就意味着通过创建更好的API和抽象可以使多线程编程更易懂、更少出错。
Signals might be an unpopular way of doing IPC in a large multi-threaded application for that reason.
出于这个原因,信号可能并不是在大型多线程应用程序中进行 IPC的流行方式。
This article discusses common implementations for ring buffer and proposes some ideas for enabling a ring buffer mechanism in multi-threaded programs.
本文讨论了循环缓冲区的一些常见实现,并对多线程程序中循环缓冲区的启用机制提出了一些观点。
In addition, this threading model hides the complexities of multi-threaded batch jobs from the developer.
此外,这种线程模型对开发人员隐藏了多线程批处理作业的复杂性。
The process itself actually owns the kernel threads and each process can have one or more kernel threads (for example, multi-threaded applications).
实际上,进程本身也拥有内核线程,每个进程可具有一个或多个内核线程(例如多线程应用程序)。
This type of architecture works well in multi-threaded applications where threads can be distributed across the processors to operate in parallel.
此类架构在多线程应用程序中运行良好,该类应用程序中线程可能被分配给多个处理器以实现并行操作。
This section discusses some important points to consider when using a ring buffer to enable logging in a multi-threaded application.
这个部分介绍了在多线程应用程序中使用循环缓冲区启用日志记录时需要考虑的一些重要方面。
Coarse-grained component models usually include support for asynchronous multi-threaded interactions, which loosens the temporal coupling of components.
粗粒度组件模型通常包括对异步多线程交互的支持,这样可以使组件的临时耦合松散化。
IDS is a multi-threaded database server.
IDS是一个多线程数据库服务器。
Note that the migrator is a high-performance, multi-threaded process that you can schedule to start at specified time.
注意,移植器是高性能、多线程的进程,可将其规划为在指定时间启动。
Processes can contain multi-threaded, parallel execution paths.
流程可以包括多线程的并行执行路径。
Synchronization has always been an indispensable part of multi-threaded programs while accessing a common resource, and logging is no exception.
在访问一个公共的资源时,同步始终是多线程程序不可缺少的部分,日志记录也不例外。
The transaction manager can either be a multi-threaded or a multi-process environment.
事务管理器要么是一个多线程环境,要么是一个多进程环境。
This code segment can be run safely in a single-threaded environment; however, it causes a deadlock in a multi-threaded environment.
这个代码片段可以在单线程环境中安全运行;然而,它会在多线程环境下引起死锁。
This specific example is but one of several design decisions and tradeoffs that we are forced to make when doing multi-threaded programming.
所谓“两害相权取其轻”,当我们进行多线程编程时,就必须在多个设计决策与权衡中做出一个选择。
Now, to manage CPU power dissipation, processor makers favor multi-core chip designs, and software has to be written in a multi-threaded or multi-process manner to take full advantage of the hardware.
当前,为了管理CPU性能损耗,处理器生产厂商倾向于采用多核芯片设计,并且软件必须以多线程或者多进程的方式来编写,从而发挥硬件的最大优势。
Multi-threaded CLI applications by default have connection-level workload balancing without any changes.
默认情况下,多线程的CLI应用可以不经修改而实现连接级的工作负载均衡。
A significant amount of disk space is required for effective logging, and it increases many fold in a multi-threaded environment where numerous threads write their trace.
要进行有效的日志记录,需要使用大量的磁盘空间,并且在多线程环境中,所需的磁盘空间会成倍地增加,因为大量的线程都在记录它们的跟踪信息。
Using a ring buffer in multi-threaded programs.
在多线程程序中使用循环缓冲区。
The product is a lot more multi-threaded than previous versions and in some cases synchronization between threads was less than great.
这个产品比起以往的版本在多线程方面更加强大,而在某些情况下线程间的同步则稍微逊色。
Compared to a database server process that services a single client application, the dynamic, multi-threaded nature of Informix provides the following advantages.
与一个服务单个客户机应用程序的数据库服务器进程相比,Informix的动态、多线程特性有以下优势。
Handling exceptions in multi-threaded programs.
处理多线程程序中的异常。
This article is based on real experience gained while porting a large multi-threaded application onto a Linux 2.6-based system, so I hope this checklist can be helpful in saving you time and effort.
本文基于在向Linux 2.6- based系统中移植大型的多线程应用程序时所获得的实际经验,我希望这个清单能帮助您节省时间和精力。
Common functions used for debugging, such as printf, write, and so on, can sometimes change the behavior of a program in the case of multi-threaded applications, making them hard to debug.
有一些常见的调试函数,如printf、write等,可能会在多线程应用程序的情况下更改一个程序的行为,使得它们难以调试。
The caller enabled this multi-threaded behavior by passing in an IDatabaseRunnable object instead of asking for a Database object.
调用者通过传递IDatabaseRunnable对象而不是请求 Databse 对象来启用这个多线程的行为。
The threads-max parameter can be particularly important if you are porting a large multi-threaded application.
如果您正在移植某个大型的多线程应用程序,那么threads - max参数可能会尤其重要。
Concurrency: tracks execution data to help find waiting threads in multi-threaded applications.
并发性:跟踪执行的数据以便在多线程应用程序中找到等待线程。
Support for multi-threaded builds with the new MSBuild
通过新的MSBuild对多线程构建进行支持
应用推荐