|
Apache HTTPD
|
#include "testflock.h"#include "testutil.h"#include "apr_pools.h"#include "apr_thread_proc.h"#include "apr_file_io.h"#include "apr_file_info.h"#include "apr_general.h"#include "apr_strings.h"Go to the source code of this file.
Functions | |
| static int | launch_reader (abts_case *tc) |
| static void | test_withlock (abts_case *tc, void *data) |
| static void | test_withoutlock (abts_case *tc, void *data) |
| static void | remove_lockfile (abts_case *tc, void *data) |
| abts_suite * | testflock (abts_suite *suite) |
Definition at line 26 of file testflock.c.
Definition at line 89 of file testflock.c.
< Open the file for writing
< Create the file if not there
< use OS's default permissions
<
< Exclusive lock. Only one process may hold an exclusive lock at any given time. This is analogous to a "write lock".
Definition at line 60 of file testflock.c.
Definition at line 81 of file testflock.c.
| abts_suite * testflock | ( | abts_suite * | suite | ) |
Definition at line 95 of file testflock.c.