Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 37044 invoked from network); 15 Mar 2004 16:07:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 16:07:37 -0000 Received: (qmail 69314 invoked by uid 500); 15 Mar 2004 16:07:30 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 69236 invoked by uid 500); 15 Mar 2004 16:07:30 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 69178 invoked from network); 15 Mar 2004 16:07:29 -0000 Date: 15 Mar 2004 16:07:34 -0000 Message-ID: <20040315160734.36838.qmail@minotaur.apache.org> From: rbb@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/test tryread.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N rbb 2004/03/15 08:07:34 Modified: test tryread.c Log: These instructions are wrong now, remove them. Revision Changes Path 1.3 +0 -20 apr/test/tryread.c Index: tryread.c =================================================================== RCS file: /home/cvs/apr/test/tryread.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- tryread.c 15 Mar 2004 03:32:43 -0000 1.2 +++ tryread.c 15 Mar 2004 16:07:34 -0000 1.3 @@ -13,25 +13,6 @@ * limitations under the License. */ -/* - * USAGE - * - * Start one process, no args, and place it into the background. Start a - * second process with the "-r" switch to attempt a read on the file - * created by the first process. - * - * $ ./testflock & - * ...messages... - * $ ./testflock -r - * ...messages... - * - * The first process will sleep for 30 seconds while holding a lock. The - * second process will attempt to grab it (non-blocking) and fail. It - * will then grab it with a blocking scheme. When the first process' 30 - * seconds are up, it will exit (thus releasing its lock). The second - * process will acquire the lock, then exit. - */ - #include "testflock.h" #include "apr_pools.h" #include "apr_file_io.h" @@ -41,7 +22,6 @@ #if APR_HAVE_STDLIB_H #include #endif - int main(int argc, const char * const *argv) {