Coda Distributed File System
Classes | Macros | Typedefs | Functions | Variables
rw.c File Reference
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <lwp/lwp.h>
#include <lwp/lock.h>
Include dependency graph for rw.c:

Classes

struct  QUEUE
 

Macros

#define DEFAULT_READERS   5
 
#define STACK_SIZE   65536
 

Typedefs

typedef struct QUEUE queue
 

Functions

int main (int argc, char **argv)
 

Variables

queueq
 
int asleep
 
int writing
 

Macro Definition Documentation

◆ DEFAULT_READERS

#define DEFAULT_READERS   5

◆ STACK_SIZE

#define STACK_SIZE   65536

Typedef Documentation

◆ queue

typedef struct QUEUE queue

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ asleep

int asleep

◆ q

queue* q

◆ writing

int writing