Spec/Threading-Model

From Apache OpenOffice Wiki
Revision as of 13:47, 21 April 2006 by Kr (Talk | contribs)

Jump to: navigation, search

Type: proposal
Status: draft

Author: Kai Sommerfeld, Kay Ramme

The OOo Threading Model

According to the Architecture/Threading goals for the OOo Threading Model, the OOo Threading Model has to support three threading types:

Every of these types could be implemented with the help of libraries etc., but the most simple and elegant solution seems to be to build it into the Binary UNO Runtime, ideally supporting any kind of code to declare the threading model to be used.

That would mean, that the OOo threading model is going to be the UNO Threading Model. This also fits with the vision, of OOo just being a set of UNO components.

The rules for UNO in respect to threading, basically repeating the threading model goals, are:

  • UNO APIs have to be implemented thread safe
  • UNO APIs have to be implemented thread transparent
  • Code has to be implemented following one of three threading approaches (addressing (d),(f)):

It is proposed, that the OOo Threading Model is the [[Uno/Spec/Threading Model | UNO Threading Model].

Personal tools