Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 6 Aug 2003 13:48:19 -0400 From: Jon LaBadie To: ML CygWIN Subject: Re: OT: to be "nice", or not... Message-ID: <20030806174819.GB25006@butch.jgcomp.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 AT jgcomp DOT 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/