Date: Wed, 11 Feb 2004 08:49:25 +0800 From: David Xu <davidxu@freebsd.org> To: Daniel Eischen <eischen@vigrid.com> Cc: freebsd-threads@freebsd.org Subject: Re: kern/33951: pthread_cancel is ignored Message-ID: <40297C15.2030407@freebsd.org> In-Reply-To: <Pine.GSO.4.10.10402100950310.15932-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10402100950310.15932-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote: >>I had enabled asynchornous cancelling for M:N thread in libkse but not >>1:1 thread, >>simplest way to support asynchronous cancelling for 1:1 is to use >>signal, but it will >>occupy a signal like Linux's SIGUSR1, another way is to use upcall, >>but it is >>slight complicated. >> >> > >An upcall would be nice since it wouldn' use a signal. It could >be treated like a signal where you push it on the thread's stack >but use the upcall function instead of a signal handling function. > > > I am working on it, hope I can work out a patch in next days.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40297C15.2030407>