Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

thread_pool.cpp

  • Adrien Béraud's avatar
    e0cf7a66
    thread pool: add minimum size of 4 threads · e0cf7a66
    Adrien Béraud authored and Guillaume Roguez's avatar Guillaume Roguez committed
    rationale: a minimum thread pool size of N allows up to N dependent
    tasks to block on each other without resulting in a deadlock on monothread
    systems, while limiting the number of concurrent running tasks.
    Ring currently uses up to two dependent tasks with ThreadPool.
    
    Change-Id: I66ec6ebb64ee4e1fb84af2db9aa465c62e08eadd
    e0cf7a66
    History
    thread pool: add minimum size of 4 threads
    Adrien Béraud authored and Guillaume Roguez's avatar Guillaume Roguez committed
    rationale: a minimum thread pool size of N allows up to N dependent
    tasks to block on each other without resulting in a deadlock on monothread
    systems, while limiting the number of concurrent running tasks.
    Ring currently uses up to two dependent tasks with ThreadPool.
    
    Change-Id: I66ec6ebb64ee4e1fb84af2db9aa465c62e08eadd
Code owners
Assign users and groups as approvers for specific file changes. Learn more.