File: task-state.h

package info (click to toggle)
criu 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,500 kB
  • sloc: ansic: 139,280; python: 7,484; sh: 3,824; java: 2,799; makefile: 2,659; asm: 1,137; perl: 206; xml: 117; exp: 45
file content (18 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __COMPEL_UAPI_TASK_STATE_H__
#define __COMPEL_UAPI_TASK_STATE_H__

/*
 * Task state, as returned by compel_wait_task()
 * and used in arguments to compel_resume_task().
 */
enum __compel_task_state {
	COMPEL_TASK_ALIVE = 0x01,
	COMPEL_TASK_DEAD = 0x02,
	COMPEL_TASK_STOPPED = 0x03,
	COMPEL_TASK_ZOMBIE = 0x06,
	/* Don't ever change the above values, they are used by CRIU! */

	COMPEL_TASK_MAX = 0x7f
};

#endif /* __COMPEL_UAPI_TASK_STATE_H__ */