Daylight v4.9
Release Date: 1 February 2008

Name

dt_thor_cachesync - write all cached data to disk

Generic Prototype

dt_thor_cachesync(dt_Handle) => dt_Boolean

C Prototype

#include "dt_thor.h"

dt_Boolean dt_thor_cachesync(dt_Handle database)

FORTRAN Prototype

include 'dt_f_thor.inc'

logical dt_f_thor_cachesync(database)

integer*4 database

Description

Forces all cached data to be written to disk immediately. This should only be done occasionally, since it may require writing a large amount of data even when only a few records have changed. A THOR server typically does not keep track of cached changes on a record-by-record basis. This means that the server must write all cached data, as opposed to modified data.

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_thor_cache(3) dt_thor_cachecontrol(3)