* Fixed incorrect check: The behavior of pthread_mutex_unlock() is undefined
when called with a default-type mutex owned by another thread. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36294 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
-5
@@ -104,11 +104,6 @@ int main()
|
|||||||
return PTS_FAIL;
|
return PTS_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pthread_mutex_unlock(&td.mutex) != 0) {
|
|
||||||
fprintf(stderr,"Main failed to release mutex\n");
|
|
||||||
return PTS_UNRESOLVED;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(th_ret == PTS_PASS)
|
if(th_ret == PTS_PASS)
|
||||||
{
|
{
|
||||||
printf("Test PASSED\n");
|
printf("Test PASSED\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user