Nick Fitzgerald 4edf614ff4 Bug 1285074 - Fix pthreads error reporting for posix js::Mutex; r=terrence
The old code assumed that various pthreads calls would set errno, and therefore
we could use perror() to print information about them. That assumption was
incorrect: pthreads calls return the error number directly and do not set errno
at all. The solution: asign the return value to errno and then call perror();
2016-08-08 10:37:54 -07:00
..