2020-06-15 07:18:57 -07:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
|
|
|
|
#include "libc/nt/enum/kwaitreason.h"
|
|
|
|
#include "libc/nt/struct/clientid.h"
|
|
|
|
|
|
|
|
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;
|
2020-11-25 08:19:00 -08:00
|
|
|
int State;
|
2020-06-15 07:18:57 -07:00
|
|
|
uint32_t WaitReason;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_ */
|