I wanted to know if there is a way to use std::thread
without exceptions, if not what alternatives can I use ?
Actually I target windows and linux desktops but this may be extended in future.
edit: just using compiler options to disable exceptions, is not an acceptable solution. Errors have to be handed in one way or another.
The problem is that only exceptions that are used in my code are those handling std::thread
errors. I'd like to get rid of those to have an exception-free code
edit2: I found tinythread++ library, it seems easy to modify if needed and works without exceptions.