commit | 7f268cf12b39d1de8ff38cf5beea50298cf841c2 | [log] [tgz] |
---|---|---|
author | Grazvydas Ignotas <notasas@gmail.com> | Sun Feb 26 02:44:07 2017 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Mon Feb 27 14:49:46 2017 +0100 |
tree | c9ed73410074b06954d65ecaac6e76187237b33f | |
parent | 993612193575f5f218af52c4ed7525e15083548e [diff] |
gallium/u_queue: set num_threads correctly if not all threads start If i-th thread could not be created it means we have i threads, not i+1, because we start from 0. Fixes: 404d0d5 "gallium/u_queue: add an option to have multiple worker threads" Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>