equal
deleted
inserted
replaced
31 sets the <codeph>TInt</codeph>, supplied by the requesting thread, to the |
31 sets the <codeph>TInt</codeph>, supplied by the requesting thread, to the |
32 resulting handle-number. The requesting thread can construct an <codeph>RThread</codeph> from |
32 resulting handle-number. The requesting thread can construct an <codeph>RThread</codeph> from |
33 this handle-number. The following diagram helps visualise the situation. </p> |
33 this handle-number. The following diagram helps visualise the situation. </p> |
34 <fig id="GUID-5B53CA3B-5365-5C54-B2BC-EA8BA684F15E"> |
34 <fig id="GUID-5B53CA3B-5365-5C54-B2BC-EA8BA684F15E"> |
35 <title> Thread-death notifier </title> |
35 <title> Thread-death notifier </title> |
36 <image href="GUID-70483E81-311F-5247-9F39-3940F20C0EB1_d0e242598_href.png" placement="inline"/> |
36 <image href="GUID-70483E81-311F-5247-9F39-3940F20C0EB1_d0e238861_href.png" placement="inline"/> |
37 </fig> |
37 </fig> |
38 <p>The following code fragments demonstrate this: </p> |
38 <p>The following code fragments demonstrate this: </p> |
39 <codeblock id="GUID-B5A219AD-CC59-50CE-A65B-0D3F4FD32F7A" xml:space="preserve">{ |
39 <codeblock id="GUID-B5A219AD-CC59-50CE-A65B-0D3F4FD32F7A" xml:space="preserve">{ |
40 ... |
40 ... |
41 RUndertaker the_undertaker; |
41 RUndertaker the_undertaker; |