| The Möbius Operating System: thread_info_t struct Reference | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HOME | DOWNLOAD | DOCUMENTATION | SCREENSHOTS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
thread_info_t Struct ReferenceUser-mode thead information structure.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data Fields | |
| thread_info_t * | info |
| DS-relative pointer to this structure. | |
| uint32_t | id |
| process_info_t * | process |
| int | status |
| void * | param |
| void(* | exception_handler )(void) |
| int(* | entry )(void *) |
| context_t | exception_info |
| void * | wmgr_info |
| handle_t | sync_io_event |
| Handle to an event used for synchronous I/O, such as FsRead or FsWrite. | |
You can obtain a thread_info_t for the current thread by calling ThrGetThreadInfo. On the x86 the FS segment contains this structure.
|
|
Pointer to the entry point function passed to ThrCreateThread |
|
|
Pointer to the function called for each unhandled exception |
|
|
Copy of the thread's context at the time of the last exception |
|
|
Unique thread identitier |
|
|
DS-relative pointer to this structure. Use this pointer to avoid FS-relative memory accesses |
|
|
Parameter passed to ThrCreateThread |
|
|
Pointer to this process's information structure |
|
|
Result code from the last syscall |
|
|
Pointer to the window manager's per-thread data structure |