Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 19:17
protectorChristian Graus30-Oct-09 19:17 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 19:44
niranjanR30-Oct-09 19:44 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:07
protectorChristian Graus30-Oct-09 20:07 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 20:24
niranjanR30-Oct-09 20:24 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:30
protectorChristian Graus30-Oct-09 20:30 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 21:10
niranjanR30-Oct-09 21:10 
GeneralRe: is this a cache problem or what? Pin
Christian Graus31-Oct-09 0:51
protectorChristian Graus31-Oct-09 0:51 
AnswerRe: is this a cache problem or what? Pin
Richard MacCutchan31-Oct-09 0:30
mveRichard MacCutchan31-Oct-09 0:30 
niranjanR wrote:
I am very much surprised as well as confused on this issue... I can't resolve it... I thank you in advance for any help.


From the portion of code you have posted it looks to me like it is working as coded. Your program is a set of sequential operations which you try to run in parallel. So sometimes you get the result you expect and sometimes not, depending on which thread gets run first. Your use of threads in this case is superfluous as it does nothing to improve the program.

As Christian said earlier, you would be better to spend more time getting familiar with C# basics before worrying about multi-threading.
AnswerRe: is this a cache problem or what? Pin
Nish Nishant31-Oct-09 5:14
sitebuilderNish Nishant31-Oct-09 5:14 
AnswerRe: is this a cache problem or what? Pin
Shog931-Oct-09 5:26
sitebuilderShog931-Oct-09 5:26 
Questionproblem with stored procedure Pin
RongNK30-Oct-09 17:05
RongNK30-Oct-09 17:05 
AnswerRe: problem with stored procedure Pin
Christian Graus30-Oct-09 17:09
protectorChristian Graus30-Oct-09 17:09 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:23
RongNK30-Oct-09 17:23 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 17:36
protectorChristian Graus30-Oct-09 17:36 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:47
RongNK30-Oct-09 17:47 
GeneralRe: problem with stored procedure Pin
lrsoft200930-Oct-09 18:19
lrsoft200930-Oct-09 18:19 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 19:15
protectorChristian Graus30-Oct-09 19:15 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 22:45
RongNK30-Oct-09 22:45 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 19:14
protectorChristian Graus30-Oct-09 19:14 
AnswerRe: problem with stored procedure Pin
PIEBALDconsult30-Oct-09 17:20
mvePIEBALDconsult30-Oct-09 17:20 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:24
RongNK30-Oct-09 17:24 
GeneralRe: problem with stored procedure Pin
PIEBALDconsult31-Oct-09 5:05
mvePIEBALDconsult31-Oct-09 5:05 
AnswerRe: problem with stored procedure Pin
lrsoft200930-Oct-09 18:09
lrsoft200930-Oct-09 18:09 
AnswerRe: problem with stored procedure Pin
deepikadurge31-Oct-09 4:48
deepikadurge31-Oct-09 4:48 
QuestionTips for creating a simple alternative of PowerPoint Pin
Abadi17630-Oct-09 12:53
Abadi17630-Oct-09 12:53 

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.