Definition at line 47 of file dim_fork2.cxx.
References dim_init(), dis_add_service, dis_start_serving, dis_stop_serving, i, and sprintf().
Referenced by main().
50 ::printf(
"Sleep a bit to see task disappear in did\n");
53 char nam[132], svc[132];
59 ::printf(
"PID:%d Register Child service Child_%02d/run to DNS....\n",::getpid(),
i);
69 ::printf(
"ERROR in fork!!!! %s\n",strerror(errno));
75 ::printf(
"PID:%d RE-Register Parent to DNS....\n",::getpid());
#define dis_start_serving
sprintf(name1,"NewService%d", i)