Hi!
> Ping~
> Any comments?

Sorry for the delay. Looks good, but the race codintion with the
semaphores is still possible, although unlikely.

Because the semaphore is posted before the second thread is locked on
the futex, there is slight possibility that the futex_wake() (from the
main thread) is called before the second thread sleeps in the futex
which will cause the testcase to fail.

I will isolate the function to assert that threads are sleeping in
kernel from the futex testcase and change this test to make use of it
and commit it.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to