/**
 * call-seq:
 *     busy_timeout( db, ms ) -> nil
 *
 * Specifies the number of milliseconds that SQLite should wait before retrying
 * to access a busy resource. Specifying zero milliseconds restores the default
 * behavior.
 */
static VALUE
static_api_busy_timeout( VALUE module, VALUE db, VALUE ms )
{
  sqlite *handle;

  GetDB( handle, db );
  Check_Type( ms, T_FIXNUM );

  sqlite_busy_timeout( handle, FIX2INT( ms ) );

  return Qnil;
}