bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Bug-Wget][RFC] Improvements to parallel-wget branch


From: Darshit Shah
Subject: Re: [Bug-wget] [Bug-Wget][RFC] Improvements to parallel-wget branch
Date: Sun, 8 Dec 2013 22:26:52 +0530

> It is sometimes necessary to debug issues with the production version of
> the
>  code too. It might be useful to include a command line option that will
> emit
> these messages in any version of the code. Perhaps --debug-race would work.
>
>
This uses a GCC compile time option to inject race detectors into the code.
The code as a result runs a lot slower. Since, there is no code that I have
written as part of this, I don't see how it would be possible to add this
to the production executable.

However, it should be possible to debug an issue by replicating the same
environment and running the race-detection compiled code. This should work
since the flags used detect potential race conditions, and hence should
detect if there will exist any races in that run. Else, the problem
probably lies somewhere else.


-- 
Thanking You,
Darshit Shah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]