Re: Pause a process execution from external program

2019-06-17 Thread Pintu Agarwal
On Fri, Jun 14, 2019 at 1:13 AM Valdis Klētnieks wrote: > > On Thu, 13 Jun 2019 13:22:12 +0530, Shyam Saini said: > > > from command line we use ctrl-z to stop execution of a foreground > > process but you can program > > SIGTSTP signal handler in your application code to do the same. > > Note tha

Re: Pause a process execution from external program

2019-06-13 Thread Valdis Klētnieks
On Thu, 13 Jun 2019 13:22:12 +0530, Shyam Saini said: > from command line we use ctrl-z to stop execution of a foreground > process but you can program > SIGTSTP signal handler in your application code to do the same. Note that if you simply fail to include a signal handler for SIGSTOP and SIGCON

Pause a process execution from external program

2019-06-13 Thread Pintu Agarwal
Hi All, I was just wondering if this is possible in the Linux world. My requirement is: For some reason, I want to halt/pause the execution (for some specified time) of a running process/thread (at some location), without modified the source, may be by firing some events/signals from an another ext

Re: Pause a process execution from external program

2019-06-13 Thread Shyam Saini
Hi Pintu, > Hi All, > I was just wondering if this is possible in the Linux world. > My requirement is: > For some reason, I want to halt/pause the execution (for some > specified time) of a running process/thread (at some location), > without modified the source, may be by firing some events/sig