Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
QuestionSetup and deployment for windows application Pin
vishnukamath7-Jul-08 18:03
vishnukamath7-Jul-08 18:03 
AnswerRe: Setup and deployment for windows application Pin
Rutvik Dave8-Jul-08 8:56
professionalRutvik Dave8-Jul-08 8:56 
QuestionPerformance Related bug in C# code Pin
Tina P7-Jul-08 17:56
Tina P7-Jul-08 17:56 
AnswerRe: Performance Related bug in C# code Pin
Ashfield7-Jul-08 21:09
Ashfield7-Jul-08 21:09 
GeneralRe: Performance Related bug in C# code Pin
Tina P7-Jul-08 21:21
Tina P7-Jul-08 21:21 
AnswerRe: Performance Related bug in C# code Pin
Harvey Saayman7-Jul-08 21:20
Harvey Saayman7-Jul-08 21:20 
GeneralRe: Performance Related bug in C# code Pin
Tina P7-Jul-08 21:28
Tina P7-Jul-08 21:28 
GeneralRe: Performance Related bug in C# code Pin
Harvey Saayman7-Jul-08 21:40
Harvey Saayman7-Jul-08 21:40 
i dont think locks will solve the problem because a "lock" might be causing it.

while thread A is using the static object its "locked" from the other threads that also wants to use it, causing them to have to wait for it to be "unlocked".

once again im not sure if this is in fact how the threads are responding to the static object, its just an assumption.

what id do to make sure my assumptions are correct is write a small test app with a static method and multiple threads trying to access it. Then use multimedia timers(these are alot more accurate than System.Windows.Forms.Timer) to see what is happening when and then draw up your own conclusion based on the results.

Then from there you can decide if rewriting the method is necessary

Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL

you.suck = (you.passion != Programming)

GeneralRe: Performance Related bug in C# code Pin
Ashfield7-Jul-08 22:12
Ashfield7-Jul-08 22:12 
GeneralRe: Performance Related bug in C# code Pin
mav.northwind7-Jul-08 22:33
mav.northwind7-Jul-08 22:33 
GeneralRe: Performance Related bug in C# code Pin
Ashfield7-Jul-08 22:38
Ashfield7-Jul-08 22:38 
QuestionQuery regarding IEnumerable [modified] - Stupid question Pin
dan!sh 7-Jul-08 17:55
professional dan!sh 7-Jul-08 17:55 
AnswerRe: Query regarding IEnumerable Pin
PaulLinton7-Jul-08 18:54
PaulLinton7-Jul-08 18:54 
GeneralRe: Query regarding IEnumerable Pin
dan!sh 7-Jul-08 19:06
professional dan!sh 7-Jul-08 19:06 
GeneralRe: Query regarding IEnumerable Pin
PIEBALDconsult8-Jul-08 4:29
mvePIEBALDconsult8-Jul-08 4:29 
AnswerRe: Query regarding IEnumerable Pin
PIEBALDconsult7-Jul-08 18:54
mvePIEBALDconsult7-Jul-08 18:54 
AnswerRe: Query regarding IEnumerable [modified] - Stupid question Pin
N a v a n e e t h7-Jul-08 21:34
N a v a n e e t h7-Jul-08 21:34 
QuestionIntegrate desktop application with browser??? Pin
Technobizz7-Jul-08 17:50
Technobizz7-Jul-08 17:50 
AnswerRe: Integrate desktop application with browser??? Pin
Kjetil Svendsen7-Jul-08 20:36
Kjetil Svendsen7-Jul-08 20:36 
QuestionWindows Service Question Pin
Richard Blythe7-Jul-08 17:06
Richard Blythe7-Jul-08 17:06 
AnswerRe: Windows Service Question Pin
PIEBALDconsult7-Jul-08 17:41
mvePIEBALDconsult7-Jul-08 17:41 
QuestionWhy won't the clipboard work in this itunes event handler? Pin
Nitrus7-Jul-08 17:01
Nitrus7-Jul-08 17:01 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
TheFM2347-Jul-08 17:34
TheFM2347-Jul-08 17:34 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
Nitrus7-Jul-08 17:58
Nitrus7-Jul-08 17:58 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
TheFM2348-Jul-08 2:19
TheFM2348-Jul-08 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.