Skip to content

Commit

Permalink
Swagger definition file: Add Thread status and priority
Browse files Browse the repository at this point in the history
This adds definition for threads status and priority

Reviewed-by: Nadav Har'El <[email protected]>
Signed-off-by: Amnon Heiman <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
  • Loading branch information
amnonh authored and Pekka Enberg committed Aug 19, 2014
1 parent 9f9c485 commit 340763c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/httpserver/api-doc/listings/os.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,22 @@
"type": "long",
"description": "Total CPU time used by the thread (in milliseconds)"
},
"priority": { "type": "float" },
"stack_size": { "type": "long" },
"status": {
"type": "string",
"description": "thread status",
"enum": [
"invalid",
"prestarted",
"unstarted",
"waiting",
"running",
"queued",
"waking",
"terminating",
"terminated"
]},
"name" : {
"type": "string",
"description": "Thread description (not necessarily unique)"
Expand Down

0 comments on commit 340763c

Please sign in to comment.