Hall-D Software
alpha
|
#include <iostream>
#include <HDDM/hddm_r.hpp>
#include <fstream>
#include <map>
#include <pthread.h>
#include <unistd.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void * | event_reader (void *arg) |
void * | event_writer (void *arg) |
void * | random_reader (void *arg) |
void | usage () |
int | main (int argc, const char *argv[]) |
Variables | |
int | max_test = 99 |
int | maxevents = -1 |
int | multithreads = 4 |
float | tread = 0 |
pthread_mutex_t | lock |
std::map< int, hddm_r::streamposition > | postable |
void* event_reader | ( | void * | arg | ) |
void* event_writer | ( | void * | arg | ) |
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 127 of file t_rest.cxx.
References e, event_reader(), event_writer(), lock, max_test, maxevents, multithreads, printf(), random_reader(), string, tread, and usage().
void* random_reader | ( | void * | arg | ) |
void usage | ( | ) |
pthread_mutex_t lock |
Definition at line 36 of file t_rest.cxx.
Referenced by event_reader(), main(), and random_reader().
int max_test = 99 |
Definition at line 31 of file t_rest.cxx.
Referenced by main().
int maxevents = -1 |
Definition at line 32 of file t_rest.cxx.
Referenced by main().
int multithreads = 4 |
Definition at line 33 of file t_rest.cxx.
Referenced by main().
std::map<int, hddm_r::streamposition> postable |
Definition at line 38 of file t_rest.cxx.
float tread = 0 |
Definition at line 34 of file t_rest.cxx.
Referenced by main().