-
公开(公告)号:US08176494B2
公开(公告)日:2012-05-08
申请号:US12105140
申请日:2008-04-17
IPC分类号: G06F9/46
CPC分类号: G06F9/3851 , G06F11/0715 , G06F11/0793 , H04L63/1458
摘要: A method is presented for processing data in a multithreaded application to alleviate impaired or substandard performance conditions. Work items that are pending processing by the multithreaded application are placed into a data structure. The work items are processed by a plurality of threads within the multithreaded application in accordance with a first algorithm, e.g., first-in first-out (FIFO). A thread within the multithreaded application is configured apart from the plurality of threads such that it processes work items in accordance with a second algorithm that differs from the first algorithm, thereby avoiding the impairing condition. For example, the thread may process a pending work item only if it has a particular characteristic. The thread restricts its own processing of work items by intermittently evaluating workflow conditions for the plurality of threads; if the workflow conditions improve or are unimpaired, then the thread does not process any work items.
摘要翻译: 提出了一种在多线程应用程序中处理数据以减轻受损或不合格的性能条件的方法。 多线程应用程序待处理的工作项被放置在数据结构中。 根据第一算法,例如先进先出(FIFO),由多线程应用程序内的多个线程处理工作项。 多线程应用程序内的线程被配置为与多个线程分开,使得它根据与第一算法不同的第二算法处理工作项,从而避免损害状况。 例如,线程可以仅在具有特定特征的情况下处理待处理的工作项。 线程通过间歇地评估多个线程的工作流条件来限制其自己的工作项的处理; 如果工作流条件改善或未受损,则线程不处理任何工作项。
-
公开(公告)号:US08458708B2
公开(公告)日:2013-06-04
申请号:US12105811
申请日:2008-04-18
IPC分类号: G06F9/46
CPC分类号: G06F9/3851 , G06F11/0715 , G06F11/0793 , H04L63/1458
摘要: Processing data in a multithreaded application to alleviate impaired or substandard performance conditions is provided. Work items that are pending processing by the multithreaded application are placed into a data structure. The work items are processed by a plurality of threads within the multithreaded application in accordance with a first algorithm, e.g., first-in first-out (FIFO). A thread within the multithreaded application is configured apart from the plurality of threads such that it processes work items in accordance with a second algorithm that differs from the first algorithm, thereby avoiding the impairing condition. For example, the thread may process a pending work item only if it has a particular characteristic. The thread restricts its own processing of work items by intermittently evaluating workflow conditions for the plurality of threads; if the workflow conditions improve or are unimpaired, then the thread does not process any work items.
摘要翻译: 提供了在多线程应用程序中处理数据以减轻受损或不合格的性能条件。 多线程应用程序待处理的工作项被放置在数据结构中。 根据第一算法,例如先进先出(FIFO),由多线程应用程序内的多个线程处理工作项。 多线程应用程序内的线程被配置为与多个线程分开,使得它根据与第一算法不同的第二算法处理工作项,从而避免损害状况。 例如,线程可以仅在具有特定特征的情况下处理待处理的工作项。 线程通过间歇地评估多个线程的工作流条件来限制其自己的工作项的处理; 如果工作流条件改善或未受损,则线程不处理任何工作项。
-