|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
signal handling |
« View previous topic :: View next topic » |
Author |
Message
|
steve_baldwin |
Posted: Tue Oct 02, 2001 9:25 pm Post subject: |
|
|
Novice
Joined: 30 Sep 2001 Posts: 11 Location: Melbourne, Australia
|
We're using MQ 5.1 on HPUX 11, and I'm finding that once I issue an MQCONN call, I cannot trap signals (eg SIGINT, SIGQUIT). Even if I reissue a sigaction() call, it seems to have no effect. I'm using C.
What am I doing wrong ?
Thanks. |
|
Back to top |
|
 |
steve_baldwin |
Posted: Tue Oct 02, 2001 11:02 pm Post subject: |
|
|
Novice
Joined: 30 Sep 2001 Posts: 11 Location: Melbourne, Australia
|
Actually, I think I've found the reference in the manual that tells me this is the "necessary" behaviour for operating in a threaded environment. Pretty damn ugly IMHO, but I'd still be interested in hearing from anyone who has managed to circumvent this. My scenario is that I've got my own "cleanup" I want to do on receipt of an interrupt signal (eg SIGINT, SIGQUIT). |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|