This file defines thread management functions of PwnOS.
| Threads.asm | This file defines thread management functions of PwnOS. |
| Functions | |
| GetCurrentThread | This procedure returns the current thread handle. |
| CreateThread | This procedure creates a new thread of the current process. |
| DestroyThread | This procedure destroys a thread of the current process. |
| PauseThread | This procedure pauses a thread of the current process. |
| ResumeThread | This procedure resumes a thread of the current process. |
| Gateway Functions of Threads.asm | |
| Functions | |
| GetCurrentThreadU | Gateway function for GetCurrentThread |
| CreateThreadU | Gateway function for CreateThread |
| DestroyThreadU | Gateway function for DestroyThread |
| PauseThreadU | Gateway function for PauseThread |
| ResumeThreadU | Gateway function for ResumeThread |
| SleepThreadU | Gateway function for <SleepThread> |
| ScheduleThreadU | Gateway function for <ScheduleThread> |
This procedure returns the current thread handle.
This procedure creates a new thread of the current process.
Not Implemented
| StartAddress | Address of the function to be called when the thread starts |
| StackSize | Size of the thread’s stack in bytes (though it gets rounded up to page size) |
| Flags | Thread creation flags |
| Parameter | Parameter to be sent to the thread’s function |
This procedure destroys a thread of the current process.
Not Implemented
| hThread | handle of thread to destroy |
This procedure pauses a thread of the current process.
Not Implemented
| hThread | handle of thread to pause |
This procedure resumes a thread of the current process.
Not Implemented
| hThread | handle of thread to resume |
| Functions | |
| GetCurrentThreadU | Gateway function for GetCurrentThread |
| CreateThreadU | Gateway function for CreateThread |
| DestroyThreadU | Gateway function for DestroyThread |
| PauseThreadU | Gateway function for PauseThread |
| ResumeThreadU | Gateway function for ResumeThread |
| SleepThreadU | Gateway function for <SleepThread> |
| ScheduleThreadU | Gateway function for <ScheduleThread> |
Gateway function for GetCurrentThread
Gateway function for CreateThread
Not Implemented
Gateway function for DestroyThread
Not Implemented
Gateway function for PauseThread
Not Implemented
Gateway function for ResumeThread
Not Implemented