ostest: delete the code that accesses the internal fields of mutex
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
5e5f518822
commit
d37b326cb1
@ -208,7 +208,7 @@ void robust_test(void)
|
|||||||
{
|
{
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
while (kill(g_robust_mutex.pid, 0) == 0 || errno != ESRCH);
|
while (kill(waiter, 0) == 0 || errno != ESRCH);
|
||||||
|
|
||||||
/* Make the mutex consistent and try again. It should succeed this time. */
|
/* Make the mutex consistent and try again. It should succeed this time. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user