Click here to Skip to main content
15,564,070 members
Home / Discussions / C#
   

C#

 
AnswerRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 20:17
mveChristian Graus30-Oct-09 20:17 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 20:44
niranjanR30-Oct-09 20:44 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 21:07
mveChristian Graus30-Oct-09 21:07 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 21:24
niranjanR30-Oct-09 21:24 
GeneralRe: is this a cache problem or what? Pin
Christian Graus30-Oct-09 21:30
mveChristian Graus30-Oct-09 21:30 
GeneralRe: is this a cache problem or what? Pin
niranjanR30-Oct-09 22:10
niranjanR30-Oct-09 22:10 
GeneralRe: is this a cache problem or what? Pin
Christian Graus31-Oct-09 1:51
mveChristian Graus31-Oct-09 1:51 
AnswerRe: is this a cache problem or what? Pin
Richard MacCutchan31-Oct-09 1:30
mveRichard MacCutchan31-Oct-09 1: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 6:14
sitebuilderNish Nishant31-Oct-09 6:14 
AnswerRe: is this a cache problem or what? Pin
Shog931-Oct-09 6:26
sitebuilderShog931-Oct-09 6:26 
Questionproblem with stored procedure Pin
RongNK30-Oct-09 18:05
RongNK30-Oct-09 18:05 
AnswerRe: problem with stored procedure Pin
Christian Graus30-Oct-09 18:09
mveChristian Graus30-Oct-09 18:09 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 18:23
RongNK30-Oct-09 18:23 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 18:36
mveChristian Graus30-Oct-09 18:36 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 18:47
RongNK30-Oct-09 18:47 
GeneralRe: problem with stored procedure Pin
lrsoft200930-Oct-09 19:19
lrsoft200930-Oct-09 19:19 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 20:15
mveChristian Graus30-Oct-09 20:15 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 23:45
RongNK30-Oct-09 23:45 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 20:14
mveChristian Graus30-Oct-09 20:14 
AnswerRe: problem with stored procedure Pin
PIEBALDconsult30-Oct-09 18:20
professionalPIEBALDconsult30-Oct-09 18:20 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 18:24
RongNK30-Oct-09 18:24 
GeneralRe: problem with stored procedure Pin
PIEBALDconsult31-Oct-09 6:05
professionalPIEBALDconsult31-Oct-09 6:05 
AnswerRe: problem with stored procedure Pin
lrsoft200930-Oct-09 19:09
lrsoft200930-Oct-09 19:09 
AnswerRe: problem with stored procedure Pin
deepikadurge31-Oct-09 5:48
deepikadurge31-Oct-09 5:48 
QuestionTips for creating a simple alternative of PowerPoint Pin
Abadi17630-Oct-09 13:53
Abadi17630-Oct-09 13: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.