Luke Kenneth Casson Leighton wrote:
"uncancel" a thread? really sounds like exception filtering. You know, like in SEH. As I see it, there's another option:
4) get these freaking bigots to learn how SEH works. SEH can implement everything you need and so much more. The DCE exception handling API? a portable subset of SEH. C++ exception handling? a type-safe wrapper on SEH, with less features. Just give up and adopt SEH, spare yourself a lot of pain reinventing it. It won't change how you do things now, and it will make everything easier. Concerns about portability? SEH worked unchanged on five completely unrelated operating systems (Windows, Windows NT, OS/2, VMS, Tru64) and countless hardware architectures (x86, Alpha, PowerPC, MIPS, ARM, Sh, IA64, x86-64, really anything that's ever been thrown at it)