Repository Objects and Multithreading

Meta Data Services Programming

Meta Data Services Programming

Repository Objects and Multithreading

A process can create multiple instances of the Repository class, with each instance connected to the same or to different repository databases. Instances of the Repository class, as well as instances of other repository-supplied classes, can be instantiated as either COM or Automation objects. With regard to multiple threads executing within a single process, these objects:

  • Support multithread processing.

  • Use the free-threaded model.

  • Are thread-safe objects.

The following topics provide more information about each of these issues.

Topic Description
Restrictions for Microsoft Jet Repository Databases Explains how multithreading affects cache behavior in Microsoft® Jet databases.
Synchronizing Commit Operations Identifies which methods require synchronization between application threads.

See Also

Design Issues and Transaction Management

Managing Transactions and Threads

Repository Class

Transaction Management Overview