change a value to initial on mutex unlock
same purpose as commit
@@ -158,7 +158,7 @@ int pthread_mutex_unlock(FAR pthread_mutex_t *mutex)
else {
/* Nullify the pid and lock count then post the semaphore */
- mutex->pid = 0;
+ mutex->pid = -1;
#ifdef CONFIG_MUTEX_TYPES
mutex->nlocks = 0;
#endif
