int db::Database::get_timeout (  ) 

Obtain current lock timeout setting.

Returns:
  • Current timeout duration in milliseconds.
  • DB_ENOTIMPL If the library does not support shared access.
Note:
set_timeout and get_timeout are not supported under single-user configuration and will return DB_ENOTIMPL when used with the single-user version.
See also:
set_timeout


Copyright © 2005-2008 ITTIA®. All rights reserved.