cosmopolitan/libc/nt/struct/systemthreads.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

20 lines
517 B
C

#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;
int State;
uint32_t WaitReason;
};
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_ */