The types os_int32 and os_boolean, used throughout this manual, are each defined as a signed 32-bit integer type. The type os_unsigned_int32 is defined as an unsigned 32-bit integer type.
os_char_p *get_application_names();Returns an array of strings naming the applications preventing lock acquisition. This array is parallel to the arrays returned by get_hostnames() and get_pids(); that is, the ith element of get_application_names() contains information about the same process as the ith elements of get_hostnames() and get_pids(). The member function number_of_blockers() returns the number of elements in these arrays. Deleting the os_lock_timeout_exception deallocates the arrays.
void *get_fault_addr();Returns the address on which ObjectStore faulted, causing the database access leading to the attempted lock acquisition.
os_char_p *get_hostnames();Returns an array of strings naming the host machines running the applications preventing lock acquisition. This array is parallel to the arrays returned by get_application_names() and get_pids(); that is, the ith element of get_hostnames() contains information about the same process as the ith elements of get_application_names() and get_pids(). The member function number_of_blockers() returns the number of elements in these arrays. Deleting the os_lock_timeout_exception deallocates the arrays.
os_int32 get_lock_type();Returns a value (os_read_lock or os_write_lock) indicating the type of lock ObjectStore was requesting when the timeout occurred.
os_unsigned_int32 *get_pids();Returns an array of integers indicating the process IDs of the processes preventing lock acquisition. This array is parallel to the arrays returned by get_application_names() and get_hostnames(); that is, the ith element of get_pids() contains information about the same process as the ith elements of get_application_names() and get_hostnames(). The member function number_of_blockers() returns the number of elements in these arrays. Deleting the os_lock_timeout_exception deallocates the arrays.
os_int32 number_of_blockers();Returns the number of processes preventing lock acquisition.
Updated: 03/31/98 17:25:09