struct proc was a redundant abstraction. everything can be tracked by just threads Signed-off-by: Michael Shaw <m@michaelsshaw.com>
15 lines
382 B
C
15 lines
382 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _PROC_H_
|
|
#define _PROC_H_
|
|
|
|
#include <kernel/thread.h>
|
|
|
|
#define PROC_STATE_RUNNING THREAD_STATE_RUNNING
|
|
#define PROC_STATE_WAITING THREAD_STATE_WAITING
|
|
#define PROC_STATE_DNS THREAD_STATE_DNS
|
|
#define PROC_STATE_BLOCKED THREAD_STATE_BLOCKED
|
|
#define PROC_STATE_ZOMBIE THREAD_STATE_ZOMBIE
|
|
|
|
typedef tid_t pid_t;
|
|
|
|
#endif /* _PROC_H_ */
|