new (broken) implementation using a semaphore
merge and fixes to rwlock
improved rwlock. still hangs from time to time
useless profiling of rwlock
switched to POSIX rwlocks. Fallback OpenMP mutex
fixed bug in hash function
enabled pthread locks
much simpler cache implementation
removed old cmdline option
improved cache stats
test output added