🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Abdenacer Moussaoui Wed, 01 Aug 1990 18:13
SIGNALS while in a DLL
#1434
Author: Abdenacer Moussaoui
Date: Wed, 01 Aug 1990 18:13
20 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads