summaryrefslogtreecommitdiff
path: root/test/tryread.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2004-03-15 16:07:34 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2004-03-15 16:07:34 +0000
commit1ec398addc91727115b658d0c078b7c261db362b (patch)
tree3be8b67ae8727b10295f33e52ad54be4646d46dc /test/tryread.c
parent47ff6630b0ee93939803c3103a2bb8490992f399 (diff)
downloadlibapr-1ec398addc91727115b658d0c078b7c261db362b.tar.gz
These instructions are wrong now, remove them.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/tryread.c')
-rw-r--r--test/tryread.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/tryread.c b/test/tryread.c
index ce7f7530b..845588068 100644
--- a/test/tryread.c
+++ b/test/tryread.c
@@ -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"
@@ -42,7 +23,6 @@
#include <stdlib.h>
#endif
-
int main(int argc, const char * const *argv)
{
apr_file_t *file;