c2fafff992
Also, zero return means "success", non-zero means "failure" and the non-zero value is a system error. That's how it is for the other platforms' thread primitives. (The no-threads defaults are still wrong though, as then are macros that expand into do..while, which can't be used as expressions and don't "return" values.)