diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-06 00:36:08 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-06 00:36:08 -0400 |
commit | 82508ae109147342fa5ed21c845ebffe538cd56f (patch) | |
tree | 31d700f985e831672fea6fb3655f56a5dc1cfd87 /sys/include | |
parent | d097c4299109f056a425684955fc118e84f94fa1 (diff) | |
parent | 0f4c69de13f711a7353a7d7e04f3fe377a728765 (diff) |
Merge branch 'expt' of github.com:sigsegv7/Hyra into expt
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/proc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index 89fe638..809ee23 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -122,8 +122,10 @@ struct proc { #define PROC_PINNED BIT(7) /* Pinned to CPU */ struct proc *this_td(void); +struct proc *td_copy(struct proc *td); struct proc *get_child(struct proc *cur, pid_t pid); +int proc_init(struct proc *td, struct proc *parent); void proc_pin(struct proc *td, affinity_t cpu); void proc_unpin(struct proc *td); |