1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:27:35 +00:00

Rework process states to make a bit more sense.

Processes are either alive (with many substates), dead or forgiven.
A dead process is forgiven when the parent waitpid()s on it.
Dead orphans are also forgiven.

There's a lot of work to be done around this.
This commit is contained in:
Andreas Kling 2018-11-07 18:30:59 +01:00
parent 71bffa9864
commit 678882e020
4 changed files with 154 additions and 93 deletions

View file

@ -15,6 +15,7 @@ OBJS = \
mm.o \
kill.o \
ft.o \
ft2.o \
strsignal.o \
tty.o
@ -35,6 +36,7 @@ APPS = \
mm \
kill \
ft \
ft2 \
strsignal \
tty
@ -98,6 +100,9 @@ tst: tst.o
ft: ft.o
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
ft2: ft2.o
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
mm: mm.o
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a