BUSY-WAIT TIME FOR THREADS
    1.
    发明申请
    BUSY-WAIT TIME FOR THREADS 有权
    宽松的等待时间

    公开(公告)号:US20110167428A1

    公开(公告)日:2011-07-07

    申请号:US12684009

    申请日:2010-01-07

    IPC分类号: G06F9/46

    CPC分类号: G06F9/524

    摘要: Method to selectively assign a reduced busy-wait time to threads is described. The method comprises determining whether at least one thread is spinning on a mutex lock associated with a condition variable and assigning, when the at least one thread is spinning on the mutex lock, a predetermined reduced busy-wait time for a subsequent thread spinning on the mutex lock.

    摘要翻译: 描述了为线程选择性地分配减少的忙等待时间的方法。 所述方法包括确定至少一个线程是否在与条件变量相关联的互斥锁上旋转,并且当所述至少一个线程在所述互斥锁上旋转时,分配用于在所述互斥锁上的随后线程旋转的预定缩短的忙等待时间 互斥锁。