|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-07 06:07:27
On Monday 07 April 2008 13:57:30 Jurko GospodnetiÄ wrote:
> Hi Volodya.
>
> > First a question -- what is the 259 value? You mentioned MSDN article,
> > do you have a link?
>
> See http://msdn2.microsoft.com/en-us/library/ms683189(VS.85).aspx
> (or any other MSDN documentation page for the GetExitCodeProcess()
> Windows API function).
>
> Here's a quote:
>
> > Important The GetExitCodeProcess function returns a valid error code
> > defined by the application only after the thread terminates. Therefore,
> > an application should not use STILL_ACTIVE (259) as an error code. If a
> > thread returns STILL_ACTIVE (259) as an error code, applications that
> > test for this value could interpret it to mean that the thread is still
> > running and continue to test for the completion of the thread after the
> > thread has terminated, which could put the application into an infinite
> > loop.
Oh, and what program actually returns 259?
> Ok, all the changes you noted applied (including updating the commit
> comment with the appropriate MSDN link) and the patch committed.
>
> Changeset link: http://svn.boost.org/trac/boost/changeset/44087
Thank you!
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk