Re: CVS commit: [netbsd-5] src/lib/libpthread

2010-05-20 Thread Soren Jacobsen
On May 20, 2010, at 5:31 PM, Takahiro Kambe wrote:

> In message <20100520050207.9927e17...@cvs.netbsd.org>
>   on Thu, 20 May 2010 05:02:07 +,
>   Soren Jacobsen  wrote:
>> Module Name: src
>> Committed By:snj
>> Date:Thu May 20 05:02:07 UTC 2010
>> 
>> Modified Files:
>>  src/lib/libpthread [netbsd-5]: pthread.c
>> 
>> Log Message:
>> Pull up following revision(s) (requested by explorer in ticket #1353):
>>  lib/libpthread/pthread.c: revision 1.114, 1.115
>> Correctly set pt_lid in the child, after a fork
>> --
>> fix the pthread pt_lid in the fork callback function that runs in the
>> child instead of a function that may be going away.  KNFify
> 
> I'm very happy with this.
> 
> Should this change be pulled up to netbsd-5-0 branch?

No, just netbsd-5.  At this time, we are being strict, and netbsd-5-0 is only 
getting changes that deserve security advisories.

Re: CVS commit: [netbsd-5] src/lib/libpthread

2010-05-20 Thread Takahiro Kambe
Hi,

In message <20100520050207.9927e17...@cvs.netbsd.org>
on Thu, 20 May 2010 05:02:07 +,
Soren Jacobsen  wrote:
> Module Name:  src
> Committed By: snj
> Date: Thu May 20 05:02:07 UTC 2010
> 
> Modified Files:
>   src/lib/libpthread [netbsd-5]: pthread.c
> 
> Log Message:
> Pull up following revision(s) (requested by explorer in ticket #1353):
>   lib/libpthread/pthread.c: revision 1.114, 1.115
> Correctly set pt_lid in the child, after a fork
> --
> fix the pthread pt_lid in the fork callback function that runs in the
> child instead of a function that may be going away.  KNFify
I'm very happy with this.

Should this change be pulled up to netbsd-5-0 branch?

-- 
Takahiro Kambe 


CVS commit: [netbsd-5] src/lib/libpthread

2010-01-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 11 00:47:30 UTC 2010

Modified Files:
src/lib/libpthread [netbsd-5]: pthread.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1235):
lib/libpthread/pthread.c: revision 1.113
Don't just look only at the first element in the deadqueue to find lwp's
to reuse, because if we lose the race with the kernel we are never going
to reuse any elements. Look in the whole list instead.


To generate a diff of this commit:
cvs rdiff -u -r1.106.2.1 -r1.106.2.2 src/lib/libpthread/pthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.