Spec/Threading-Model
Type: Specification Status: final
Description
According to the Architecture/Goals for OOo Threading-Model&-Architecture for the OOo threading-model, the OOo threading-model has to support the following thread related implementation types,
Every of these types could be implemented with the help of libraries etc., the most simple and elegant solution seems to be the extension of the Binary Uno Runtime, ideally supporting the declaration of the threading related implementation type.
This means, that the OOo threading-model is going to be the Uno threading-model, which also fits with the vision, 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, the OOo threading-model to be the Uno threading-model.