Re: [Mesa-dev] [PATCH] st/mesa/radeonsi: fix race between destruction of types and shader compilation

2019-04-23 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Apr 23, 2019 at 2:04 AM Timothy Arceri wrote: > Commit 624789e3708c moved the destruction of types out of atexit() and > made use of a ref count instead. This is useful for avoiding a crash > where drivers such as radeonsi are still compiling in a thread

[Mesa-dev] [PATCH] st/mesa/radeonsi: fix race between destruction of types and shader compilation

2019-04-23 Thread Timothy Arceri
Commit 624789e3708c moved the destruction of types out of atexit() and made use of a ref count instead. This is useful for avoiding a crash where drivers such as radeonsi are still compiling in a thread when the app exits and has not called MakeCurrent to change from the current context. While