px4_sem: set errno, return -1 on any error
- Don't duplicate the ret variable to err. - Return -1 on any error, 0 otherwise. - Set errno to return value of pthread_cond_timedwait.
Please register or sign in to comment
- Don't duplicate the ret variable to err. - Return -1 on any error, 0 otherwise. - Set errno to return value of pthread_cond_timedwait.