On Mon, Jun 29, 2020 at 09:55:10AM +0200, Rhialto wrote: > 6. said handler tells the new thread to clean up and finish. One of the last > things the thread does, is to dlclose() libavformat.
How can an atexit() handler (or a destructor) defer work to a thread (w/o waiting for the thread to complete, but then the thread makes no sense)? Martin