RE: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-11 Thread Bert Huijben
c: 'APR Developer List'; 'Stefan Fuhrman'; 'Philip Martin'; 'Subversion > Development' > Subject: RE: Race condition in APR_DECLARE_LATE_DLL_FUNC() > implementation > > > > > -Original Message- > > From: William A. Rowe

Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-07 Thread Branko Čibej
On 07.12.2013 16:04, Daniel Lescohier wrote: > Second: why use apr_atomic_casptr? Writing a pointer to a memory address > is already atomic: another thread cannot see a halfway-changed pointer. You gotta love how people assume the whole world uses a single CPU architecture. -- Brane -- Branko

Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-07 Thread Daniel Lescohier
; > > -Original Message- > > From: Bert Huijben [mailto:b...@qqmail.nl] > > Sent: vrijdag 6 december 2013 19:14 > > To: 'William A. Rowe Jr.'; 'Stefan Fuhrmann' > > Cc: 'APR Developer List'; 'Stefan Fuhrman&#x

RE: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-07 Thread Bert Huijben
: Stefan Fuhrmann > > Cc: Bert Huijben; APR Developer List; Stefan Fuhrman; Philip Martin; > > Subversion Development > > Subject: Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() > > implementation > > > > On Fri, 6 Dec 2013 16:44:52 +0100 > > Stefan Fuhrmann

RE: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-06 Thread Bert Huijben
> -Original Message- > From: William A. Rowe Jr. [mailto:wr...@rowe-clan.net] > Sent: vrijdag 6 december 2013 18:24 > To: Stefan Fuhrmann > Cc: Bert Huijben; APR Developer List; Stefan Fuhrman; Philip Martin; > Subversion Development > Subject:

Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-06 Thread William A. Rowe Jr.
On Fri, 6 Dec 2013 16:44:52 +0100 Stefan Fuhrmann wrote: > On Fri, Dec 6, 2013 at 6:05 AM, William A. Rowe Jr. > wrote: > > > On Thu, 5 Dec 2013 15:01:05 +0100 > > "Bert Huijben" wrote: > > > > > I think the dll load function should be converted to a more stable > > > pattern, that properly han

Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-06 Thread Stefan Fuhrmann
On Fri, Dec 6, 2013 at 6:05 AM, William A. Rowe Jr. wrote: > On Thu, 5 Dec 2013 15:01:05 +0100 > "Bert Huijben" wrote: > > > I think the dll load function should be converted to a more stable > > pattern, that properly handles multiple threads. And perhaps we > > should just assume a few more NT

Re: Race condition in APR_DECLARE_LATE_DLL_FUNC() implementation

2013-12-05 Thread William A. Rowe Jr.
On Thu, 5 Dec 2013 15:01:05 +0100 "Bert Huijben" wrote: > I think the dll load function should be converted to a more stable > pattern, that properly handles multiple threads. And perhaps we > should just assume a few more NT functions to be alsways there > instead of loading them dynamically. T