Pushed, thanks.

Marek

On Tue, May 22, 2012 at 12:25 PM, Maarten Lankhorst
<[email protected]> wrote:
> Fixes crash bug introduced with 210ddf0819b5 fd.o #49198
> pthread_detach after a pthread_join is unneeded.
>
> Signed-off-by: Maarten Lankhorst <[email protected]>
>
> ---
> diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c 
> b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
> index 2239059..168f455 100644
> --- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
> +++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
> @@ -469,7 +469,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);
>
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to