mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
23
libc/nt/struct/systemthreads.h
Normal file
23
libc/nt/struct/systemthreads.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
|
||||
#include "libc/nt/enum/kwaitreason.h"
|
||||
#include "libc/nt/enum/threadstate.h"
|
||||
#include "libc/nt/struct/clientid.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
struct NtSystemThreads {
|
||||
int64_t KernelTime;
|
||||
int64_t UserTime;
|
||||
int64_t CreateTime;
|
||||
uint32_t WaitTime;
|
||||
void *StartAddress;
|
||||
struct NtClientId ClientId;
|
||||
int32_t Priority;
|
||||
int32_t BasePriority;
|
||||
uint32_t ContextSwitchCount;
|
||||
enum NtThreadState State;
|
||||
uint32_t WaitReason;
|
||||
};
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue