Home | History | Annotate | Download | only in mtest07

Lines Matching defs:reader

42 /*		reader and writer threads. One thread will create the shared  */
85 #define READER 1 /* cause thread function to shmat and read */
156 /* The function acts as either reader or writer thread depending */
157 /* on arg[3]. The reader and writer thread use the same key so */
164 /* arg[3] - reader or writer. */
173 int reader = 0; /* this thread is a reader thread if set to 1 */
183 reader = (int)locargs[3];
216 if (!reader) {
335 chld_args[3] = READER;