This book is for the person who changes cloonix: the processes, the sockets
between them, and what each binary of the delivery is for. The
user book is for the person who runs it.
Where the code is
Under cloonix/cloonsrc, one directory per binary, plus:
lib_io_clownix the event loop, the sockets, the timers, KERR
lib_rpc_clownix the rpc, one pair of halves per message
glob_include structures, paths, the wire and cxp definitions
A directory holding a Makefile is cloonix's own code; one holding a cmd
wraps an external project: unpacks, patches, builds. Three greps orient in
any of them:
grep -n "int main" src/*.c
grep -n "rpct_recv" src/*.c
grep -n "string_server_unix" src/*.c
Every daemon ends its main in msg_mngt_loop() after daemon(0,0); the main
server calls daemon(0,0) once the net is ready, timer_everything_is_ready.