Click here to Skip to main content
15,920,836 members
Home / Discussions / C#
   

C#

 
AnswerRe: Installing application using C# Pin
Guinness4Strength30-Aug-05 9:31
Guinness4Strength30-Aug-05 9:31 
GeneralRe: Installing application using C# Pin
Anonymous30-Aug-05 12:19
Anonymous30-Aug-05 12:19 
GeneralRe: Installing application using C# Pin
Guinness4Strength31-Aug-05 3:54
Guinness4Strength31-Aug-05 3:54 
QuestionQuestion about Mutex Pin
Alex Cutovoi30-Aug-05 5:17
Alex Cutovoi30-Aug-05 5:17 
AnswerRe: Question about Mutex Pin
Andy Brummer30-Aug-05 8:15
sitebuilderAndy Brummer30-Aug-05 8:15 
GeneralRe: Question about Mutex Pin
Alex Cutovoi30-Aug-05 9:25
Alex Cutovoi30-Aug-05 9:25 
GeneralRe: Question about Mutex Pin
Andy Brummer30-Aug-05 10:30
sitebuilderAndy Brummer30-Aug-05 10:30 
GeneralRe: Question about Mutex Pin
Alex Cutovoi30-Aug-05 14:17
Alex Cutovoi30-Aug-05 14:17 
Right, but there are some question remaining:
- The WaitOne method blocks the calling thread(in this case t1 and t2). After the ReleaseMutex method of Main(), the two threads executes the loop one time, cause (in my mind) this 2 threads will be blocked by WaitOne method and cause no one is signaling for the two threads. I've executed you code and you're right, it works like you said(the two ways). What I don't understanding is the WaitOne Method and the ReleaseMutex in the two threads, if the Mutex was created in Main(), how the threads obtain the exclusive access to the Mutex, and why the ReleaseMutex is called in the two threads?
- If my explanation of WaitOne method is incorrect, tell me more about it.

Thanks again and thanks for the patience
GeneralRe: Question about Mutex Pin
Andy Brummer30-Aug-05 19:30
sitebuilderAndy Brummer30-Aug-05 19:30 
GeneralRe: Question about Mutex Pin
Alex Cutovoi31-Aug-05 2:53
Alex Cutovoi31-Aug-05 2:53 
GeneralRe: Question about Mutex Pin
Alex Cutovoi31-Aug-05 2:56
Alex Cutovoi31-Aug-05 2:56 
QuestionMDI Child with flicker Pin
enricrt30-Aug-05 5:15
enricrt30-Aug-05 5:15 
QuestionListView with column and images Pin
Sasuko30-Aug-05 4:36
Sasuko30-Aug-05 4:36 
AnswerRe: ListView with column and images Pin
Luis Alonso Ramos30-Aug-05 6:43
Luis Alonso Ramos30-Aug-05 6:43 
GeneralRe: ListView with column and images Pin
Sasuko30-Aug-05 7:56
Sasuko30-Aug-05 7:56 
GeneralRe: ListView with column and images Pin
Luis Alonso Ramos30-Aug-05 8:22
Luis Alonso Ramos30-Aug-05 8:22 
QuestionImage dislaying and processing in C# Pin
silka_c#30-Aug-05 4:21
silka_c#30-Aug-05 4:21 
AnswerRe: Image dislaying and processing in C# Pin
Andrew Kirillov30-Aug-05 4:59
Andrew Kirillov30-Aug-05 4:59 
QuestionRe: Image dislaying and processing in C# Pin
silka_c#31-Aug-05 0:50
silka_c#31-Aug-05 0:50 
Answer[Message Deleted] Pin
Judah Gabriel Himango30-Aug-05 5:01
sponsorJudah Gabriel Himango30-Aug-05 5:01 
AnswerRe: Image dislaying and processing in C# Pin
HumanOsc30-Aug-05 7:33
HumanOsc30-Aug-05 7:33 
QuestionJava Pin
VickyC#30-Aug-05 4:02
VickyC#30-Aug-05 4:02 
AnswerRe: Java Pin
Judah Gabriel Himango30-Aug-05 4:47
sponsorJudah Gabriel Himango30-Aug-05 4:47 
GeneralRe: Java Pin
VickyC#30-Aug-05 4:51
VickyC#30-Aug-05 4:51 
Questionadding a Palette to a Surface in DirectX Pin
silka_c#30-Aug-05 3:28
silka_c#30-Aug-05 3:28 

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.