In all my subclasses of ThreadPoolJob so far, I’ve been interested not only if the job completed, but also whether it succeeded or failed…sort of like the return value of the thread function if you see what I mean. I’ve ended up adding a boolean to my subclass with accessors, etc. I could see adding an int instead.
This feels like something that maybe should be in ThreadPoolJob itself. Just a thought
Thanks for the sweet library, and thanks for adding support for non-zero return values from main.