---
title: es_thread_state_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_thread_state_t
---

# es_thread_state_t

A description of a thread’s machine-specfiic state.

## Declaration

```swift
struct es_thread_state_t
```

## Overview

Overview To work with thread state, see the definitions in the include file mach/thread_status.h and corresponding machine-dependent headers.

## Topics

### Inspecting Thread State

- [flavor](endpointsecurity/es_thread_state_t/flavor.md)
- [state](endpointsecurity/es_thread_state_t/state.md)
- [es_token_t](endpointsecurity/es_token_t.md)

### Initializers

- [init()](endpointsecurity/es_thread_state_t/init().md)
- [init(flavor:state:)](endpointsecurity/es_thread_state_t/init(flavor:state:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Inspecting Event Properties

- [target](endpointsecurity/es_event_remote_thread_create_t/target.md)
- [thread_state](endpointsecurity/es_event_remote_thread_create_t/thread_state.md)
- [reserved](endpointsecurity/es_event_remote_thread_create_t/reserved.md)
