Re: [nox-dev] Signals (SIGHUP) sent to applications?

2008-11-24 Thread Ben Pfaff
Martin Casado [EMAIL PROTECTED] writes: You could always register a handler in C++ if you don't mind a temporary hack you can just add it to src/nox_main.cc There is no need for a temporary hack, from C++. Just use Signal_group, defined in src/include/threads/signals.hh. But nox.cc

Re: [nox-dev] Signals (SIGHUP) sent to applications?

2008-11-24 Thread Glen Gibb
Actually, this specific problem doesn't have a cure in our local branch, but one can work around it using the reactor.callFromThread call which executes a function within the reactor's thread. The example below worked just fine on our local branch and it *should* work with the noxrepo.org