mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17: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:
parent
71bffa9864
commit
678882e020
4 changed files with 154 additions and 93 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue