On Sun, 2008-11-02 at 21:55 -0800, Roman Shaposhnik wrote:
> Is there any way I can poke the target process so that it gets attention
> from the scheduler an can be put in a Stopped state?

I know, I know we all don't like those guys who talk to themselves 
on mailing lists replying to their own emails, but since there were
no takers here's what I cooked up so far:
   echo stop > /proc/n/ctl &
   echo ping > /proc/n/note
   cat /proc/n/note > /dev/null

That of course doesn't quite work either since once I resume 'n'
by issuing
    echo start > /proc/n/ctl
the process fails with:
    error reading <stdin>: interrupted

So the question remains -- what is the proper way of putting a process
that waits for an IO into a Stopped state?

Sorry that I keep bothering the list, but I can't really think
of anything here :-(

Thanks,
Roman.


Reply via email to