Berkeley DB Reference Guide:
Tcl API

PrevRefNext

Tcl API programming notes

The Tcl API closely parallels the Berkeley DB programmatic interfaces. If you are already familiar with one of those interfaces, there will not be many surprises in the Tcl API.

The Tcl API currently does not support multithreading although it could be made to do so. The Tcl shell itself is not multithreaded and the Berkeley DB extensions use global data unprotected from multiple threads.

Several pieces of Berkeley DB functionality are not available in the Tcl API. Any of the functions that require a user-provided function are not supported via the Tcl API. For example, there is no equivalent to the DB->set_dup_compare or the DB_ENV->set_errcall methods.


PrevRefNext

Copyright (c) 1996-2006 Oracle Corporation - All rights reserved.