Paul Dagnelie wrote:
Wow, does the threading stuff on MacOS really not automatically call thread_exit()? That's pretty unusual, AIUI. Thanks for catching that!
No it does, but the threading is opaque to us, so we have to catch things like thread_exit_tsd() cleanup, and atomic_dec(&total_threads) in the thread_exit() before we call XNU's thread_terminate(current_thread());
Mostly a cosmetic problem for us too, it looks concerning when "total_threads" constantly grow. :)
Lund ------------------------------------------- openzfs-developer Archives: https://www.listbox.com/member/archive/274414/=now RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa Modify Your Subscription: https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c Powered by Listbox: http://www.listbox.com
