Change ws_object_lock_try_read() to return int
Change ws_object_lock_try_write() to return int
Acquire read-locks on objects in ws_object_cmp()