Article View: comp.os.os2.programmer
Article #1434SIGNALS while in a DLL
From: Abdenacer Moussaoui
Date: Wed, 01 Aug 1990 18:13
Date: Wed, 01 Aug 1990 18:13
20 lines
1198 bytes
1198 bytes
If a detached program S invokes a program P which installs a signal handler and then calls a routine in a DLL. Can the signal handling routine in P receives signals at anytime? My experimentation shows that P receives the signals anytime before the routine in the DLL is called, however, once in the DLL (which could be hung somewhere) signals don't seem to be received by the installed handler, why? ------------- Signals are generated by program S who reports that P is not responding. The signal handler in P is installed as: DosSetSigHandler( SigHand, &pfnPA, &tmp, SIGA_ACCEPT, SIG_PFLG_A ) ; Upon entry SigHand() issues: DosSetSigHandler( NULL, NULL, NULL, SIGA_ACKNOWLEDGE, SIG_PFLG_A ) ; then proceeds dealing with the signal. I am not sharp on this stuff so thank you for being clear.
Technical Details
Message-ID:
<15770001@hpmcaa.mcm.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpmcaa!nacerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpmcaa!nacer From: nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui) Newsgroups: comp.os.os2.programmer Subject: SIGNALS while in a DLL Message-ID: <15770001@hpmcaa.mcm.hp.com> Date: 1 Aug 90 18:13:13 GMT Organization: HP McMinville Division Lines: 20