Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
John Baldwin wrote: On Thursday, September 02, 2010 7:36:08 am David Xu wrote: John Baldwin wrote: On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: Kostik Belousov wrote:

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread John Baldwin
On Thursday, September 02, 2010 7:36:08 am David Xu wrote: > John Baldwin wrote: > > On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: > > > >> On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > >> > >>> Kostik Belousov wrote: > >>> > >>> > > the tf_err m

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
John Baldwin wrote: On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: Kostik Belousov wrote: the tf_err may not be equal to ksi_addr! This may need to be fixed. The change was introduced by r

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread John Baldwin
On Thursday, September 02, 2010 6:22:18 am Kostik Belousov wrote: > On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > > Kostik Belousov wrote: > > > > >>the tf_err may not be equal to ksi_addr! This may need to be fixed. > > >> > > >The change was introduced by > > >r151316 | davidxu | 2

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 05:35:39PM +, David Xu wrote: > Kostik Belousov wrote: > > >>the tf_err may not be equal to ksi_addr! This may need to be fixed. > >> > >The change was introduced by > >r151316 | davidxu | 2005-10-14 > > /* Old FreeBSD-style arguments. */ > >- sf.sf_siginfo = c

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > Author: davidxu > Date: Wed Sep 1 02:18:33 2010 > New Revision: 212076 > URL: http://svn.freebsd.org/changeset/base/212076 > > Log: > Add signal handler wrapper, the reason to add it becauses there are > some cases we want to improve

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: Kostik Belousov wrote: On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: Author: davidxu Date: Wed Sep 1 02:18:33 2010 New Revision: 212076 URL: http://svn.freebsd.org/changeset/base/212076 Log: Add sig

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: the tf_err may not be equal to ksi_addr! This may need to be fixed. The change was introduced by r151316 | davidxu | 2005-10-14 /* Old FreeBSD-style arguments. */ - sf.sf_siginfo = code; - sf.sf_addr = regs->tf_err; + sf.sf_siginfo = ksi->ksi_code; +

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 05:03:13PM +, David Xu wrote: > Kostik Belousov wrote: > >On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: > >>Kostik Belousov wrote: > >>>On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > Author: davidxu > Date: Wed Sep 1 02:18:33 2010 >

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 04:34:58PM +, David Xu wrote: > Kostik Belousov wrote: > >On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: > >>Author: davidxu > >>Date: Wed Sep 1 02:18:33 2010 > >>New Revision: 212076 > >>URL: http://svn.freebsd.org/changeset/base/212076 > >> > >>Log: > >> A

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread David Xu
Kostik Belousov wrote: On Wed, Sep 01, 2010 at 02:18:33AM +, David Xu wrote: Author: davidxu Date: Wed Sep 1 02:18:33 2010 New Revision: 212076 URL: http://svn.freebsd.org/changeset/base/212076 Log: Add signal handler wrapper, the reason to add it becauses there are some cases we want

svn commit: r212076 - head/lib/libthr/thread

2010-08-31 Thread David Xu
Author: davidxu Date: Wed Sep 1 02:18:33 2010 New Revision: 212076 URL: http://svn.freebsd.org/changeset/base/212076 Log: Add signal handler wrapper, the reason to add it becauses there are some cases we want to improve: 1) if a thread signal got a signal while in cancellation point,