srrd/branches/multi-threaded: fixed small locking problem in pages_service.c. added thread rwlock dump to BUG log messages in thread.c