Re: [Mesa-dev] [PATCH 3/5] clover: Fix a bug with multi-threaded events

2015-05-09 Thread Francisco Jerez
Tom Stellard writes: > It was possible for some events never to get triggered if one thread > was creating events and another threads was waiting for them. > > This patch consolidates soft_event::wait() and hard_event::wait() > into event::wait() so that hard_event objects will now wait for > all

[Mesa-dev] [PATCH 3/5] clover: Fix a bug with multi-threaded events

2015-05-07 Thread Tom Stellard
It was possible for some events never to get triggered if one thread was creating events and another threads was waiting for them. This patch consolidates soft_event::wait() and hard_event::wait() into event::wait() so that hard_event objects will now wait for all their dependencies to be submitte