Difference between revisions of "Effort/Implement Basic Threading-Architecture"
From Apache OpenOffice Wiki
< Effort
m (Fixed category.) |
(Added proposed changes for module dba/connectivity.) |
||
| Line 3: | Line 3: | ||
; Changes - Convert Office Modules to be Thread unsafe: | ; Changes - Convert Office Modules to be Thread unsafe: | ||
| − | :* comphelper: | + | :* [http://util.openoffice.org/source/browse/util/comphelper/ module comphelper]: |
:** AsyncNotifier / ImplHelper / EventNotifierImpl - adapt to be usable by multiple threads. | :** AsyncNotifier / ImplHelper / EventNotifierImpl - adapt to be usable by multiple threads. | ||
:** Declare exported services as "thread unsafe": | :** Declare exported services as "thread unsafe": | ||
| Line 10: | Line 10: | ||
:*** "AnyCompareFactory" | :*** "AnyCompareFactory" | ||
:*** "com.sun.star.comp.util.OfficeInstallationDirectories" | :*** "com.sun.star.comp.util.OfficeInstallationDirectories" | ||
| + | :* [http://dba.openoffice.org/source/browse/dba/connectivity/ module connectivity]: | ||
| + | :** Make ZConnectionPool / OPoolTimer thread enter the default thread unsafe environment before invalidating the pooled connections. | ||
| + | :** Declare exported services as "thread unsafe": | ||
| + | :*** "com.sun.star.sdbc.OConnectionPool" | ||
| + | :*** "com.sun.star.comp.sdbcx.adabas.ODriver" | ||
| + | :*** "com.sun.star.comp.sdbc.ado.ODriver" | ||
| + | :*** "com.sun.star.comp.sdbc.calc.ODriver" | ||
| + | :*** "com.sun.star.comp.sdbc.dbase.ODriver" | ||
| + | :*** Evoab - "com.sun.star.comp.sdbc.evoab.OEvoabDriver" | ||
| + | :*** Evoab2 - "com.sun.star.comp.sdbc.evoab.OEvoabDriver" | ||
| + | :*** "com.sun.star.sdbc.driver.file.Driver" | ||
| + | :*** "com.sun.star.comp.sdbc.flat.ODriver" | ||
| + | :*** "com.sun.star.sdbcx.comp.hsqldb.Driver" | ||
| + | :*** "com.sun.star.comp.sdbc.JDBCDriver" | ||
| + | :*** "com.sun.star.comp.sdbc.MozabDriver" | ||
| + | :*** "com.sun.star.sdbc.OSDBCDriverManager" | ||
| + | :*** "com.sun.star.comp.sdbc.ParameterSubstitution" | ||
| + | |||
; Dependencies: | ; Dependencies: | ||
Revision as of 11:40, 16 May 2006
- Specification
- Basic Threading Architecture
- Changes - Convert Office Modules to be Thread unsafe
-
- module comphelper:
- AsyncNotifier / ImplHelper / EventNotifierImpl - adapt to be usable by multiple threads.
- Declare exported services as "thread unsafe":
- "IndexedPropertyValuesContainer"
- "NamedPropertyValuesContainer"
- "AnyCompareFactory"
- "com.sun.star.comp.util.OfficeInstallationDirectories"
- module connectivity:
- Make ZConnectionPool / OPoolTimer thread enter the default thread unsafe environment before invalidating the pooled connections.
- Declare exported services as "thread unsafe":
- "com.sun.star.sdbc.OConnectionPool"
- "com.sun.star.comp.sdbcx.adabas.ODriver"
- "com.sun.star.comp.sdbc.ado.ODriver"
- "com.sun.star.comp.sdbc.calc.ODriver"
- "com.sun.star.comp.sdbc.dbase.ODriver"
- Evoab - "com.sun.star.comp.sdbc.evoab.OEvoabDriver"
- Evoab2 - "com.sun.star.comp.sdbc.evoab.OEvoabDriver"
- "com.sun.star.sdbc.driver.file.Driver"
- "com.sun.star.comp.sdbc.flat.ODriver"
- "com.sun.star.sdbcx.comp.hsqldb.Driver"
- "com.sun.star.comp.sdbc.JDBCDriver"
- "com.sun.star.comp.sdbc.MozabDriver"
- "com.sun.star.sdbc.OSDBCDriverManager"
- "com.sun.star.comp.sdbc.ParameterSubstitution"
- module comphelper: