On Nov 25, 2008, at 24:16 , Glen Gibb wrote:
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 bran
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 ve
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
On Nov 24, 2008, at 24:43 , Martin Casado wrote:
Hmm, Teemu thinks he's fixed that in our local branch which probably
doesn't do you much good atm.
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
.martin
On Nov 2
Hmm, Teemu thinks he's fixed that in our local branch which probably
doesn't do you much good atm.
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
.martin
On Nov 23, 2008, at 12:43 PM, Glen Gibb wrote:
I'm afra
I'm afraid that trying to use signal gives the following error:
ValueError: signal only works in main thread
Martin Casado wrote:
I think
import signal
signal(signal.SIGHUP, foo)
should work.
Is there an easy way to get a Nox python application to respond to
SIGHUP?
Thanks,
Glen
_
I think
import signal
signal(signal.SIGHUP, foo)
should work.
Is there an easy way to get a Nox python application to respond to
SIGHUP?
Thanks,
Glen
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.
Is there an easy way to get a Nox python application to respond to SIGHUP?
Thanks,
Glen
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org