[dm-devel] pthread_cancel and clone weirdness

christophe varoqui christophe.varoqui at free.fr
Mon Jul 18 19:07:31 UTC 2005


On lun, 2005-07-18 at 10:19 -0500, Benjamin Marzinski wrote:
> On Sat, Jul 16, 2005 at 07:07:56PM +0200, christophe varoqui wrote:
> > cvaroqui at zezette:tmp$ ./pthread_test
> > cancelling thread
> > pthread cancel returned : Success
> > joining thread
> > pthread_join returned : Success
> > child was canceled
> > 
> > both with and without "#define WORK_CORRECTLY 1" on ubuntu breezy HEAD,
> > amd64.
> > 
> > Will try on Debian Sid/amd64 too, tomorrow.
> 
Debian SID/amd64 fails without "#define WORK_CORRECTLY 1" set :

xa-s05:/tmp# ./pthread_test
cancelling thread
pthread cancel returned : No such process
joining thread
[hang till sigterm]

Works fine with the define.

Regards,
-- 
christophe varoqui <christophe.varoqui at free.fr>





More information about the dm-devel mailing list