Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: atexit(), dlclose() and more atexit()



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


Home | Main Index | Thread Index | Old Index