Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 6 Aug 2003 13:48:19 -0400
From: Jon LaBadie <jcyg@jgcomp.com>
To: ML CygWIN <cygwin@cygwin.com>
Subject: Re: OT: to be "nice", or not...
Message-ID: <20030806174819.GB25006@butch.jgcomp.com>
References: <NGBBLLIAMFLGJEOAJCCEIEJODCAA.garbage_collector@telia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEIEJODCAA.garbage_collector@telia.com>
User-Agent: Mutt/1.5.4i

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/

