commit | f546902d9597429713c83e2caf6b69856bd7ba4d | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Thu May 07 13:57:14 2015 +0000 |
committer | Tom Stellard <thomas.stellard@amd.com> | Mon May 11 18:52:18 2015 +0000 |
tree | 82ec75df7964205cafaf40ac1a048ff5b4cb9b3a | |
parent | 73f4010082cf0fc2fe34c59e2eb5801eed10762b [diff] |
clover: Add a mutex to guard queue::queued_events This fixes a potential crash where on a sequence like this: Thread 0: Check if queue is not empty. Thread 1: Remove item from queue, making it empty. Thread 0: Do something assuming queue is not empty. CC: 10.5 <mesa-stable@lists.freedesktop.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>