Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
QuestionTroubles with parsing data from on function to another Pin
Yannielsen29-Sep-05 2:01
Yannielsen29-Sep-05 2:01 
AnswerRe: Troubles with parsing data from on function to another Pin
Guffa29-Sep-05 6:43
Guffa29-Sep-05 6:43 
Questioncreate a Divx player Pin
Sasuko29-Sep-05 1:40
Sasuko29-Sep-05 1:40 
QuestionCOM and COM+ in C# Pin
mohd rafi28-Sep-05 23:34
mohd rafi28-Sep-05 23:34 
AnswerRe: COM and COM+ in C# Pin
Mohamad Al Husseiny29-Sep-05 8:51
Mohamad Al Husseiny29-Sep-05 8:51 
Questionconnect to Mobile Device through bluetooth Pin
Member 231569328-Sep-05 22:55
Member 231569328-Sep-05 22:55 
Questionstarted thread to wait till the other thread finishes Pin
ksanju100028-Sep-05 22:12
ksanju100028-Sep-05 22:12 
AnswerRe: started thread to wait till the other thread finishes Pin
S. Senthil Kumar28-Sep-05 22:40
S. Senthil Kumar28-Sep-05 22:40 
Thread.Sleep will only cause the thread on which you called it to sleep, it won't affect other threads. If you have specific places in code where you want to wait/notify, you can use the AutoResetEvent[^] class. Something like
class Test
{
   AutoResetEvent evt = new AutoResetEvent(false);
   void Thread1()
   {
     // do operation 1
     evt.WaitOne();
     // do operation 2
   }
   void Thread2()
   {
      // do some other operation
      evt.Set(); // signal other thread to resume
      // do something else
   }


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
QuestionRegistering a Windows Service Pin
lata07mahi28-Sep-05 22:11
lata07mahi28-Sep-05 22:11 
AnswerRe: Registering a Windows Service Pin
Anonymous29-Sep-05 3:36
Anonymous29-Sep-05 3:36 
Questionhow to get voice data Pin
pakFari28-Sep-05 21:18
pakFari28-Sep-05 21:18 
Questioncheck for a child form's existence Pin
AesopTurtle28-Sep-05 21:07
AesopTurtle28-Sep-05 21:07 
AnswerRe: check for a child form's existence Pin
S. Senthil Kumar28-Sep-05 22:35
S. Senthil Kumar28-Sep-05 22:35 
GeneralRe: check for a child form's existence Pin
AesopTurtle28-Sep-05 23:58
AesopTurtle28-Sep-05 23:58 
QuestionFast Copy\Cast of an array Pin
Gilad Kapelushnik28-Sep-05 20:52
Gilad Kapelushnik28-Sep-05 20:52 
AnswerRe: Fast Copy\Cast of an array Pin
Guffa28-Sep-05 21:21
Guffa28-Sep-05 21:21 
GeneralRe: Fast Copy\Cast of an array Pin
leppie29-Sep-05 3:38
leppie29-Sep-05 3:38 
GeneralRe: Fast Copy\Cast of an array Pin
Guffa29-Sep-05 22:24
Guffa29-Sep-05 22:24 
AnswerRe: Fast Copy\Cast of an array Pin
leppie29-Sep-05 3:34
leppie29-Sep-05 3:34 
GeneralRe: Fast Copy\Cast of an array Pin
Anonymous1-Oct-05 9:23
Anonymous1-Oct-05 9:23 
GeneralRe: Fast Copy\Cast of an array Pin
leppie1-Oct-05 16:11
leppie1-Oct-05 16:11 
QuestionMy Source Code is visible to all Pin
28-Sep-05 19:15
suss28-Sep-05 19:15 
AnswerRe: My Source Code is visible to all Pin
Ashok Dhamija28-Sep-05 19:31
Ashok Dhamija28-Sep-05 19:31 
GeneralRe: My Source Code is visible to all Pin
28-Sep-05 19:40
suss28-Sep-05 19:40 
GeneralRe: My Source Code is visible to all Pin
Ashok Dhamija29-Sep-05 0:18
Ashok Dhamija29-Sep-05 0:18 

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.