Date: Tue, 1 Feb 2005 14:13:33 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Peter Jeremy <PeterJeremy@optushome.com.au> Cc: current@FreeBSD.ORG Subject: Re: cynchronised sleep capbilty.. Message-ID: <200502011913.j11JDXsf084862@khavrinen.lcs.mit.edu> In-Reply-To: <20050201190318.GE45608@cirb503493.alcatel.com.au> References: <20050201101113.J572@localhost> <20050201190318.GE45608@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 2 Feb 2005 06:03:18 +1100, Peter Jeremy <PeterJeremy@optushome.com.au> said: > 2) <kludge>Write a small C program that uses setitimer() and signals > its parent whenever the timer triggers. Run it in the background > and just pause within the sh loop.</kludge> SIGCHLD is good enough. while :; do sleep 10 & do_something wait done -GAWollman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502011913.j11JDXsf084862>