SQLite3
PHP 手册

SQLite3::busyTimeout

(PHP 5 >= 5.3.3)

SQLite3::busyTimeoutSets the busy connection handler

说明

public bool SQLite3::busyTimeout ( int $msecs )

Sets a busy handler that will sleep until the database is not locked or the timeout is reached.

参数

msecs

The milliseconds to sleep. Setting this value to a value less than or equal to zero, will turn off an already set timeout handler.

返回值

Returns TRUE on success, FALSE on failure.


SQLite3
PHP 手册