|
nfs-ganesha 1.4
|
#include <stdio.h>#include <pthread.h>#include <errno.h>#include <unistd.h>#include <stdlib.h>#include "RW_Lock.h"#include "log.h"Go to the source code of this file.
Defines | |
| #define | MAX_WRITTERS 3 |
| #define | MAX_READERS 5 |
| #define | NB_ITER 40 |
| #define | MARGE_SECURITE 10 |
Functions | |
| void * | thread_writter (void *arg) |
| void * | thread_reader (void *arg) |
| int | main (int argc, char *argv[]) |
Variables | |
| rw_lock_t | lock |
| int | OkWrite = 0 |
| int | OkRead = 0 |
1.7.3