24 be<i>process-relative</i>.</p> |
24 be<i>process-relative</i>.</p> |
25 <p>The following diagram shows the case where code belonging to thread A creates |
25 <p>The following diagram shows the case where code belonging to thread A creates |
26 a mutex and vests ownership of the handle in the thread. </p> |
26 a mutex and vests ownership of the handle in the thread. </p> |
27 <fig id="GUID-5A22F71B-C146-53A9-B8A4-51D79D4EF668"> |
27 <fig id="GUID-5A22F71B-C146-53A9-B8A4-51D79D4EF668"> |
28 <title>Thread-relative handle</title> |
28 <title>Thread-relative handle</title> |
29 <image href="GUID-7B589949-2784-5B77-959E-99F8733A8853_d0e343786_href.png" placement="inline"/> |
29 <image href="GUID-7B589949-2784-5B77-959E-99F8733A8853_d0e332332_href.png" placement="inline"/> |
30 </fig> |
30 </fig> |
31 <p>Compare with the following case where ownership of the mutex handle is |
31 <p>Compare with the following case where ownership of the mutex handle is |
32 vested in the process.</p> |
32 vested in the process.</p> |
33 <fig id="GUID-6C60BB64-AE7B-5B46-983B-D6D65D8AB41C"> |
33 <fig id="GUID-6C60BB64-AE7B-5B46-983B-D6D65D8AB41C"> |
34 <title>Process-relative handle</title> |
34 <title>Process-relative handle</title> |
35 <image href="GUID-47511301-DFF9-52B0-9602-DD9D293D3044_d0e343797_href.png" placement="inline"/> |
35 <image href="GUID-47511301-DFF9-52B0-9602-DD9D293D3044_d0e332343_href.png" placement="inline"/> |
36 </fig> |
36 </fig> |
37 <p>In both cases, the mutex object is added to the appropriate Kernel container |
37 <p>In both cases, the mutex object is added to the appropriate Kernel container |
38 which can be considered as the owner of the object.</p> |
38 which can be considered as the owner of the object.</p> |
39 <p>The significance of a process-relative handle is that any thread in the |
39 <p>The significance of a process-relative handle is that any thread in the |
40 process can use that handle to access the Kernel side object that the handle |
40 process can use that handle to access the Kernel side object that the handle |