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

Re: Pause a process execution from external program

2019-06-13 Thread Elias Kouskoumvekakis
On Thu, Jun 13, 2019 at 10:45 AM Pintu Agarwal wrote: > > 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 external program, by speci

Re: Pause a process execution from external program

2019-06-13 Thread Pintu Agarwal
On Thu, Jun 13, 2019 at 1:22 PM Shyam Saini wrote: > > 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 locati

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

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