diff options
author | turret <turret@duck.com> | 2023-11-24 00:57:35 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-11-24 00:57:35 -0600 |
commit | 2f957068e567391e7aef5d7a2c075c14c1e6b37a (patch) | |
tree | 2e58f3008886e3372ebb26d1d7ae83a3ac0adae5 /include/init.h | |
parent | 40bff7788865b519b79b1ee7eb9851914010ffb4 (diff) | |
download | discord-bot-skeleton-2f957068e567391e7aef5d7a2c075c14c1e6b37a.tar.gz discord-bot-skeleton-2f957068e567391e7aef5d7a2c075c14c1e6b37a.tar.bz2 discord-bot-skeleton-2f957068e567391e7aef5d7a2c075c14c1e6b37a.zip |
misc: subsys upgrade, log timestamps
(log)
- create LOGLEVEL constant numbers
- implement CONSOLE_LOGLEVEL
- color array now uses loglevel constants
- timestamp now shown (thanks util-linux)
(init)
- register mainpid
- hello world print
- fix process reaper to refer to subsys when reaping
(subsys)
- create maximum subsystem count
- create subsystem table
- add debugging prints to subsystem entry and termination
- create function to handle process termination (unmap stack, free
subsystem malloc, clear entry in table)
- disable subsystem inception
- change die references to fail with print
- supply clone with signal to send on termination (SIGCHLD)
Diffstat (limited to 'include/init.h')
0 files changed, 0 insertions, 0 deletions