1

Topic: Mutex how it works?

What that a hogwash with . There is a program, creates different  at program start. I launch 1 time, I create  And I Launch 2 times, I create  In I Launch 3 times, I create  With I Launch 4 times, I check, And both In and With exist I Launch 1 time, I create  And I Launch 2 times, create  In Launch 3 times, create  With Close 3 and 2 copies Launch 4 times, check, And exist, In and With is not present Launch 1 time, create  And Launch 2 times, create  In Launch 3 times, create  With Close 1 and 2 copies Launch 4 times, check, And both In and With exist Why  does not die with process? If processes to close upside-down, from that as they have been launched,  die as well as it is necessary. If to close from the first copy to last, all  will live yet you will not close the last copy. Why so works?

2

Re: Mutex how it works?

Hello, vladimir.romin, you wrote: VR> Why so works? OS what?

3

Re: Mutex how it works?

Hello, vladimir.romin, you wrote: VR> Why so works? 1) what axis? 2) by a call what  functions forms ? However, in the presence of the answer to 2nd question, on the first ourselves guess

4

Re: Mutex how it works?

Hello, Kernan, you wrote: K> Hello, vladimir.romin, you wrote: VR>> Why so works? K> OS what? Win7, and there is a difference?

5

Re: Mutex how it works?

Hello, Pzz, you wrote: Pzz> Hello, vladimir.romin, you wrote: VR>> Why so works? Pzz> 1) what axis? Pzz> 2) by a call what  functions forms ? Pzz> However, in the presence of the answer to 2nd question, on the first ourselves guess Win7, there is through CreateMutex, a first parameter null, the second false, the third - unique

6

Re: Mutex how it works?

Hello, vladimir.romin, you wrote: VR>>> Why so works? K>> OS what? VR> Win7, and there is a difference? Here people under what only do not develop... It turns out, you create named  which want to rummage between processes? Similar on that that at you happens?

7

Re: Mutex how it works?

Hello, Kernan, you wrote: K> Hello, vladimir.romin, you wrote: VR>>>> Why so works? K>>> OS what? VR>> Win7, and there is a difference? K> Here people under what only do not develop... K> It turns out, you create named  which want to rummage between processes? K> it is similar to that that at you happens? Thanks, indeed!