This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: OT: to be "nice", or not...
On Wed, Aug 06, 2003 at 07:42:04PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>
> Scenario:
> I launch a task at normal priority (nice-ness 0)
> When this task has finished I wish to be paged...
>
> In other words;
> Question: Can I have one task be postponed while another one
> is still executing?
>
> Is this possible?
>
>
> e.g. a command sequence that might take a long time:
>
> $ echo >list.md5 ; find -type f | xargs md5sum -b >>list.md5
> $ nice -n 19 cat TaskDone.wav >/dev/dsp
>
>
> *The point* is beeing able to launch the time/cpu-consuming task and then
> "append" the paging later.
>
> The obvious is to concatenate "cat ..." with the line above it
> - but this is NOT the answer I'm asking for.
$ (
> long task
> second task
> ) &
$
jl
--
Jon H. LaBadie jcyg@jgcomp.com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/