summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2012-05-22 12:25:55 +0200
committerMarek Olšák <maraeo@gmail.com>2012-06-15 03:01:23 +0200
commit6bb0151f1fd87b4e15f177c7122fc28fea29497e (patch)
tree03213d48bdd3b904a67eab56541ba28ae120be89 /src/gallium/winsys
parentfc782bcbf04f036990f69b14e01304e1e6dc8fd1 (diff)
downloadexternal_mesa3d-6bb0151f1fd87b4e15f177c7122fc28fea29497e.zip
external_mesa3d-6bb0151f1fd87b4e15f177c7122fc28fea29497e.tar.gz
external_mesa3d-6bb0151f1fd87b4e15f177c7122fc28fea29497e.tar.bz2
winsys/radeon: Remove unnecessary pipe_thread_destroy in radeon_drm_cs_destroy
Fixes crash bug introduced with 210ddf0819b5 fd.o #49198 pthread_detach after a pthread_join is unneeded. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_cs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
index 10f9338..b598e6c 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
@@ -490,7 +490,6 @@ static void radeon_drm_cs_destroy(struct radeon_winsys_cs *rcs)
pipe_semaphore_signal(&cs->flush_queued);
pipe_semaphore_wait(&cs->flush_completed);
pipe_thread_wait(cs->thread);
- pipe_thread_destroy(cs->thread);
}
pipe_semaphore_destroy(&cs->flush_queued);
pipe_semaphore_destroy(&cs->flush_completed);