llvmpipe: add pipe_thread_wait() calls
authorBrian Paul <brianp@vmware.com>
Fri, 5 Mar 2010 21:24:02 +0000 (14:24 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 5 Mar 2010 21:24:04 +0000 (14:24 -0700)
commitb704a4e8f332e7f9a38c21ce074cd244cf2fe89e
tree73b51597cc17059e71c68767e74e3ed38de898c3
parent76e87786ab946b54adf7565555b0c671aa78d6bd
llvmpipe: add pipe_thread_wait() calls

Wait for threads to exit before cleaning up per-thread data.
Fixes hang on context destruction with glean makeCurrent test.
See fd.o bug 26536.
src/gallium/drivers/llvmpipe/lp_rast.c