can any body help to define a user signal handler for pNA. So far, I
have use the blow code in the sys_config.h but it doest not compile
extern void user_signal_hndlr(int evn,int tid, int sd);
#define NC_SIGNAL ((void*)user_signal_hndlr) /* pNA+ Signal
Hdlr */
thanks for any help
ephlodur schrieb:
This seems to be a C-language problem.
E.g. see the KC_FATAL handler definition like
extern void MyHandler();
#define KC_FATAL ((void (*) ()) MyHandler
Hope it helps.
--
BaSystem Martin Raabe
E: Martin.Raabe<at>B-a-S-y-s-t-e-m<dot>de
Thank you very much for your reply..
I have tried the syntax that you propose and the one that I have used
but none of them work...
In one case the system dont complile at all and the second case it
compile but no signal.
I have a 3 nodes system and the NC_SIGNAL is define at 2 places in the
sys_config.h. In the
first instance if I set the NC_SIGNAL to point to the user signal it
will not compile. The second
instance the system compile but no signal are generated when the
server close the socket.
Thanks for your help