incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: Windows build error(s)
Date Fri, 22 Jun 2007 08:10:27 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Friday, June 22, 2007 3:42 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: Windows build error(s)
> 
> >   I've found how to handle this error here:
> > http://msdn2.microsoft.com/en-us/library/ms228772(vs.80).aspx
> > 
> >   Unfortunately, jscript don't present the possibility to 
> install COM 
> > message filter, so I've just perform the call in a loop with sleep:
> > http://svn.apache.org/viewvc?view=rev&rev=548682
> 
> This looks like an infinite loop. It might fix the problem 
> with the build but I worry that it could cause trouble under 
> some other error conditions.
> The MSDN fix also looks quite different (not to mention much more
> complicated). Isn't there some middle ground between the two
approaches?

  Yes. The both approaches performs retry the call.

> E.g., could we loop only a limited number of times and only when the
error 
> was caused by the timing issue discussed on the MSDN page (if 
> we can reliably detect it)?

  Perhaps that will help:
http://svn.apache.org/viewvc?view=rev&rev=549748
  Unfortunately I can't check how this patch works.

Farid.

Mime
View raw message