Function −1 — exit current thread or process
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
|