Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOSAMI-WSL-1
QOSAMI-WSL-1
/
doc
/
docs
/
api-reference
/
cpp
/
enumerations
/
processstate.md
Code
Commits
Issues
Pulls
Sessions
CI/CD
master
master
md
17 lines
247 Bytes
Rendered
Copy permalink
Copy
Raw
1
# ProcessState
2
3
`Process::State()`
casts directly from
`WslcProcessState`
.
4
5
Underlying C values:
6
7
-
`Unknown = 0`
8
-
`Running = 1`
9
-
`Exited = 2`
10
-
`Signalled = 3`
11
12
```
cpp
13
if
(
process
.
State
()
==
static_cast
<
ProcessState
>
(
1
))
14
{
15
// running
16
}
17
```