Re: [Mesa-dev] [PATCHv3 05/16] util: add a generic thread pool data structure

2014-08-20 Thread Chia-I Wu
On Thu, Aug 21, 2014 at 9:31 AM, Matt Turner wrote: > On Tue, Aug 19, 2014 at 11:40 PM, Chia-I Wu wrote: >> It can be used to implement, for example, threaded glCompileShader and >> glLinkProgram. Two basic tests are included to verify the basic functions, >> and to give us some confidence about

Re: [Mesa-dev] [PATCHv3 05/16] util: add a generic thread pool data structure

2014-08-20 Thread Matt Turner
On Tue, Aug 19, 2014 at 11:40 PM, Chia-I Wu wrote: > It can be used to implement, for example, threaded glCompileShader and > glLinkProgram. Two basic tests are included to verify the basic functions, > and to give us some confidence about its thread-safety. > > v2: allow tasks to "complete" othe

[Mesa-dev] [PATCHv3 05/16] util: add a generic thread pool data structure

2014-08-19 Thread Chia-I Wu
It can be used to implement, for example, threaded glCompileShader and glLinkProgram. Two basic tests are included to verify the basic functions, and to give us some confidence about its thread-safety. v2: allow tasks to "complete" other tasks Signed-off-by: Chia-I Wu Reviewed-by: Brian Paul