Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watchdog

Process immortality: a client calls MakeMeImmortal, which spawns a companion WD process. Both sides exchange heartbeats with signals and revive each other via a heap-based scheduler.

Layout

watchdog/
├── include/     # public API
├── src/         # implementation
├── deps/        # internal dependencies
│   └── heap_scheduler/
│   └── heap_task/
│   └── heap/
│   └── dvector/
│   └── uid/
├── test/
├── Makefile
└── README.md

Build & Run

make
make run

Watchdog builds two binaries:

  • WD — immortal companion process
  • run — demo client (MakeMeImmortal / DoNotResuscitate)
make demo   # builds both, then runs the client

Dependencies (vendored under deps/)

  • heap_scheduler
  • heap_task
  • heap
  • dvector
  • uid

About

Process immortality: mutual heartbeat and revival via signals, fork/exec, and a heap scheduler.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages