One of the requirements is to provide a means to lock the whole database [ie lock(-1)]; Implementing that is fine, but is there any reason why a client would want (or need) to lock the whole database? I can see the server locking the whole thing for integrity check, writing to backing store, etc., but are we expected to devise some use for the full lock or just provide the capability?
Michael Morris
SCJP
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher