No subject


Fri Mar 3 13:36:01 PST 2023


* This sample test aims to check the following assertion:
*
* The function does not return EINTR

* The steps are:
* -> kill a thread which calls pthread_atfork
* -> check that EINTR is never returned

With libthread_xu the test outputs:

$ ./3-3.test
[21:30:40]Test executed successfully.
[21:30:40]  58840 operations.
[21:30:40]  98757 signals were sent meanwhile.
$

With libc_r it remains in infinite loop. You can read the source of the 
test in 
http://posixtest.cvs.sourceforge.net/posixtest/posixtestsuite/conformance/interfaces/pthread_atfork/3-3.c?revision=1.1&view=markup


-- 
Hasso

-- 
Hasso Tepper





More information about the Commits mailing list