Difference between revisions of "SysFn-1"
Jump to navigation
Jump to search
(Created page with '__NOTOC__ {{DISPLAYTITLE: Function −1 — exit current thread or process}} == Parameters == {| border="1" id="table1" class="wikitable sysfunc" |- ! class="header" | ...') |
(No difference)
|
Latest revision as of 09:13, 2 January 2011
Parameters
bits | type | value | description |
---|---|---|---|
eax | |||
0–31 | uint32 | −1 | Function number. |
Return value
Function doesn't return.
Notes
If process didn't create any threads explicitly then it has just one main thread exiting which results in process termination.
If current thread is the last one of the process, exiting it results in process termination.
This function terminates current thread. Any other (not current) thread could be terminated by calling function 18.2.
|