Re: [Mesa-dev] [PATCH] util/queue: don't hang at exit

2017-04-18 Thread Nicolai Hähnle
On 18.04.2017 03:34, Rob Clark wrote: So atexit() is horrible and 4aea8fe7 is probably not a good idea. But add an extra layer of duct-tape to the problem. Otherwise we hit a situation where app using an atexit() handler that runs later than ours doesn't hang when trying to tear down a context.

[Mesa-dev] [PATCH] util/queue: don't hang at exit

2017-04-17 Thread Rob Clark
So atexit() is horrible and 4aea8fe7 is probably not a good idea. But add an extra layer of duct-tape to the problem. Otherwise we hit a situation where app using an atexit() handler that runs later than ours doesn't hang when trying to tear down a context. (gdb) bt #0 util_queue_killall_and_