12 ms·
it should definitively clean up the module you could make the same argument with threads main process vs child threads, you would expect atexit installed in t
by zwetan 7y ago
it should definitively clean up the module
you could make the same argument with threads
main process vs child threads, you would expect atexit installed in the child thread to execute before the main process atexit installed functions
- barrkel 7y agoIf it were thread local, sure, but they'd need access to a module cleanup function too, as there's no necessary tie between thread lifetime and module lifetime.