diff options
author | Chia-I Wu <[email protected]> | 2009-07-10 17:35:11 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-24 11:45:57 -0600 |
commit | fc2feea685d86c520fb01199caa5a46eae20c7aa (patch) | |
tree | dd8619d17770db2a92121216394f474a8cea0e43 /src/mesa/glapi/glthread.h | |
parent | 99939982ec76cb1fee84da9027375c55888dca20 (diff) |
glapi: Fix a race in accessing context/dispatch TSD.
If multiple threads set/get a TSD at roughly same time for the first
time, glthread might (wrongly) initialize it more than once. This patch
solves the race by initializing context/dispatch TSDs early.
Acked-by: Ian Romanick <[email protected]>
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/glapi/glthread.h')
0 files changed, 0 insertions, 0 deletions