Closed abique closed 5 years ago
I don't think that this is a good way to handle this. I would just call std::terminate (), because this may be a fatal error and silently continuing would cover up the real issue.
Fair enough :) This one can be closed as well ;-)
Hi,
I've thought that it would be convenient to have a kInvalidThread, because I want to check for example that all the GUI calls happends on the main thread and just discard those which happens on an other thread with return kInvalidThread.
What do you think?
Alex.