Thread View: gnu.epoch.misc
1 messages
1 total messages
Started by Huub Bakker
Mon, 19 Oct 1992 09:15
Process not active ???
Author: Huub Bakker
Date: Mon, 19 Oct 1992 09:15
Date: Mon, 19 Oct 1992 09:15
44 lines
1667 bytes
1667 bytes
Hello World, I have two asynchronous processes running under Epoch. I want these processes terminated by a SIGINT signal when Epoch quits. Normally Epoch does this job with a SIGHUP signal, but that one can't be used here. So I wrote the following code. (defun stop_send_to () "This function is called from the kill-emacs-hook" (setq send_to_comm_running nil) (interrupt-process send_to_comm_proc) (delete-process send_to_comm_proc) ) (defun stop_server () "This function is called from the kill-emacs-hook" (setq epoch_server_running nil) (interrupt-process epoch_server_proc) (delete-process epoch_server_proc) ) (defun stop_processes () (stop_server) (stop_send_to) ) (setq kill-emacs-hook 'stop_processes) When typing C-x C-c the first call to (interrupt-process ...) gives an error message "Process epoch_server_proc not active." and stop_server does not return. What's wrong? Thanks for all help, Greetings, Huub. -- CWI, P.O. Box 4079 Huub Bakker (huub@cwi.nl) 1009 AB Amsterdam The Netherlands Tel. 31 20 5924080
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