Eric Anholt eric@anholt.net writes:
Just wait for all tasks to complete when any object is freed? That's going to be bad for performance. Or are you saying that you already have the connection between the task and its objects (and, if so, why aren't you just doing refcounting correctly through that path?)
How about wait on close of the DRM device?