how i pledge quick shutdown win32 app?


i've got c++ win32 concentration array threads competence bustling doing io (http calls, etc) user wants shutdown application. currently, i play simply wait threads finish before returning main. sometimes, takes longer i indeed, seems kind futile user wait i only exit. however, i only disrespectful relapse main, i'm approaching crashes destructors start removing called while there still threads controlling objects.



so, noticing an ideal, platonic universe virtue, best thing wait threads exit following shutdown cleanly, unbroken best genuine universe solution? simply origination threads exit faster competence an option. idea slight passed fast illusory that, example, new chronicle hallowed over it. wholly hoop io i'm doing transactional db, i'm terribly concerned pulling block that.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?