Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Sandy Rockowitz
Mon, 01 Apr 1991 21:01
Re: questions on os/2
Author: Sandy Rockowitz
Date: Mon, 01 Apr 1991 21:01
Date: Mon, 01 Apr 1991 21:01
22 lines
1430 bytes
1430 bytes
In article <1991Apr1.153428.13292@watson.ibm.com>, thierry@watson.ibm.com (Thierry Samama) writes: > >DosKillProcess only "flags the process to terminate", according to the >OS/2 1.2 CP Reference. So if the process has set a signal handler for >SIGTERM (using DosSetSigHandler) and the signal handler refuses to yield, >the process will not terminate. To the best of my knowledge, there is no way >to work around this. > Regarding the use of signals and termination, I've been having difficulty separating process termination (SIGTERM) from Ctrl-Break (SIGBREAK). If I register a signal handler for Ctrl-Break and Ctrl-C using DosSetSigHandler, that process receives termination requests (e.g. geneated by the End Task button on the Task Manager), and these are marked to my signal handler as being Ctrl-Break, not process termination. This was happening under EE 1.2. Haven't yet retested under 1.3. Sandy Rockowitz gd.sar@forsythe.stanford.edu
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