![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2008
Posts: 2
Rep Power: 0
![]() |
Need source code analysis tool-race condition in multi threaded application
Hi ,
I developed a multi threaded application for web office automation using Java. I got a bug in transferring multiple files and it seems to be a race condition. . Can anyone help me to solve this bug? |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
Re: Need source code analysis tool-race condition in multi threaded application
if its a problem with your code, then perhaps it would be a good idea to post the section of code that you beleive to be causing problems. That way we can look at it and find a solution for you
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2008
Posts: 2
Rep Power: 0
![]() |
Coverity Prevent- source code analysis tool for debugging software defects
Hi
In you situation ,a race condition has occurred due to a lack of synchronization or the improper use of synchronization when accessing shared resources such as variables. Data races occur when the developer fails to specify which thread has access to a variable at a given time. In such a case, whichever thread wins the race gets access to the data, with unpredictable results. Because threads can be preempted at any time, you can't safely assume that a thread executing at start-up will have accessed the data it needs before other threads begin to run. As well, the order in which threads are executed may differ from one VM to the next, making it impossible to determine a standard succession of events. Sometimes, data races may be insignificant in the outcome of the program, but more often than not they can lead to unexpected results that are hard to debug. In short, data races are concurrency problems waiting to rear their ugly heads. Last edited by Narue; Apr 22nd, 2008 at 6:59 AM. Reason: Snipped ad. |
|
|
|
|
|
#4 |
|
Not a user?
Join Date: Sep 2007
Posts: 245
Rep Power: 1
![]() |
Re: Need source code analysis tool-race condition in multi threaded application
I smell spam...
|
|
|
|
|
|
#5 |
|
Professional Programmer
![]() Join Date: Sep 2005
Posts: 419
Rep Power: 3
![]() |
Re: Need source code analysis tool-race condition in multi threaded application
victor louis and Michael_24 are the same person. The questions are bogus and meant to open the door for solicitation of a product. This guy is a spammer, so please report any further posts by either of these accounts so that they can be dealt with accordingly.
__________________
Even if the voices aren't real, they have some pretty good ideas. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Incorporating javascript code into java application | csrocker101 | Java | 1 | Feb 11th, 2008 6:36 AM |
| GCC sprintf Source Code | JawaKing00 | C | 2 | Nov 30th, 2006 3:53 AM |
| Image processing:Stentiford and Holt Thinning Source code in C or C++ | ladyscarlet99 | C | 0 | Sep 9th, 2005 1:20 AM |