Database :: initializeThread - Initialize thread
When a service is supporting several threads (e.g. OHTTP services), each thread gets its own global variables. In order to use global variables from the main thread, a database context doAfterInitialize() event will be generated, which allows application specific handling for thread initialization.

