Difference between revisions of "Uno/Spec/Environment Stack"

From Apache OpenOffice Wiki
< Uno‎ | Spec
Jump to: navigation, search
m
m (Fixed categories.)
Line 18: Line 18:
  
  
 +
[[Category:Draft]]
 +
[[Category:Spec]]
 +
[[Category:Uno]]
 
[[Category:Uno:Spec]]
 
[[Category:Uno:Spec]]

Revision as of 08:40, 29 November 2006

Type: specification State: draft Claim: recommended

Feature

The Runtime allows to enter / leave a particular Purpose Environment, respectively to invoke functions in a particular Purpose Environment. The current (purpose) environment does not only vary with the languages OBI (e.g. Java or C++), but also with the executed codes declared purpose type.

Rationale

Operations may need to be associated with the Uno/Spec/Environment(s) of a particular object. Such operations may set thread related global variables (e.g. the component- or current-context) or may acquire mutexes.

API

Eenvironment]].

Comment

The enter / leave functionality may not be appropriate for all environments at all times. E.g. the thread affine environment does not allow to be entered, while it already has a thread associated.

Personal tools