There are a number of places in the code where the unix system call return values are not checked during runtime(release build). Depending on debug time assert statements on the return value checks would not be a good choice. These should be handled. E.g.
ConditionVariable.cpp
Mutex.cpp
ServerSocket.cpp
...