This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.15-1: pthread_cancel and pthread_kill not working as expected
> My testcases for asynchronous and deferred cancel work on threads
> blocked in sem_wait() but still fail mostly on threads blocked in
> read(STDIN_FILENO, ...), same as before. Sorry about that.
I spoke too soon. There seems to be some kind of runtime decay and a
dependency on semaphore.h.
Running the same test or the two tests alternating works for about three
times just as expected but further runs fail as before. A reboot fixes
that and gives me another few chances. This only applies to read().
sem_wait() always works.
If the test code includes semaphore.h but doesn’t even use any of its
functions it fails right away, just like before. A reboot doesn’t help.
It’s getting weirder by the day...
Otto
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple