Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help needed for Displaying Notification Icon Pin
Exelioindia8-Jan-07 17:23
Exelioindia8-Jan-07 17:23 
AnswerRe: Help needed for Displaying Notification Icon Pin
Ravi Bhavnani8-Jan-07 2:50
professionalRavi Bhavnani8-Jan-07 2:50 
QuestionMultithreading Pin
indiaone7-Jan-07 21:21
indiaone7-Jan-07 21:21 
AnswerRe: Multithreading [modified] Pin
Shajeel7-Jan-07 21:55
Shajeel7-Jan-07 21:55 
GeneralRe: Multithreading Pin
indiaone7-Jan-07 23:04
indiaone7-Jan-07 23:04 
GeneralRe: Multithreading Pin
Shajeel7-Jan-07 23:07
Shajeel7-Jan-07 23:07 
GeneralRe: Multithreading Pin
indiaone7-Jan-07 23:31
indiaone7-Jan-07 23:31 
GeneralRe: Multithreading Pin
Shajeel7-Jan-07 23:45
Shajeel7-Jan-07 23:45 
The code that you have provided has only one thread. can you show where are you starting two thread.

The object of threads is to do work simultaneously, you should start all methods simultaneously and if they are dependent on each other then you should add some checking mechanism in your functions so that if they cannot proceed then they should sleep for some times.

you can write like this
for(int i=0; i<count; i++)
{
="" start="" all="" thread.
}

a()
{
="" do="" something
}

b()
{
while(a="" not="" concluded)
{
sleep
}
="" something
}

hope="" this="" help=""

<div="" class="ForumSig">Regards
Shajeel
GeneralRe: Multithreading Pin
indiaone7-Jan-07 23:57
indiaone7-Jan-07 23:57 
GeneralRe: Multithreading Pin
Shajeel8-Jan-07 0:09
Shajeel8-Jan-07 0:09 
GeneralRe: Multithreading Pin
indiaone8-Jan-07 0:15
indiaone8-Jan-07 0:15 
GeneralRe: Multithreading Pin
Shajeel8-Jan-07 0:20
Shajeel8-Jan-07 0:20 
GeneralRe: Multithreading Pin
indiaone8-Jan-07 2:05
indiaone8-Jan-07 2:05 
GeneralRe: Multithreading Pin
Shajeel8-Jan-07 18:16
Shajeel8-Jan-07 18:16 
QuestionHow to access runtime methods of child form Pin
vaibhavnvag7-Jan-07 19:55
vaibhavnvag7-Jan-07 19:55 
AnswerRe: How to access runtime methods of child form Pin
Tyler457-Jan-07 20:20
Tyler457-Jan-07 20:20 
GeneralRe: How to access runtime methods of child form Pin
quiteSmart7-Jan-07 20:34
quiteSmart7-Jan-07 20:34 
AnswerRe: How to access runtime methods of child form Pin
Tyler457-Jan-07 20:47
Tyler457-Jan-07 20:47 
GeneralRe: How to access runtime methods of child form Pin
quiteSmart7-Jan-07 20:55
quiteSmart7-Jan-07 20:55 
GeneralHow to access runtime methods of child form Pin
vaibhavnvag7-Jan-07 22:40
vaibhavnvag7-Jan-07 22:40 
GeneralRe: How to access runtime methods of child form Pin
Christian Graus7-Jan-07 22:58
protectorChristian Graus7-Jan-07 22:58 
AnswerRe: How to access runtime methods of child form Pin
Martin#7-Jan-07 23:03
Martin#7-Jan-07 23:03 
GeneralRe: How to access runtime methods of child form Pin
vaibhavnvag7-Jan-07 23:40
vaibhavnvag7-Jan-07 23:40 
QuestionInt32 type alias problem! Pin
Duong Tien Nam7-Jan-07 15:22
Duong Tien Nam7-Jan-07 15:22 
AnswerRe: Int32 type alias problem! Pin
Judah Gabriel Himango7-Jan-07 15:34
sponsorJudah Gabriel Himango7-Jan-07 15:34 

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.