Runtime tools : Core components : Contexts : Concept : Data integrity and concurrency
  
Data integrity and concurrency
Contexts are thread-safe. When processes simultaneously access context data from different threads, the toolkit seamlessly serializes these requests. The toolkit also serializes context chain and unchain requests.
When different processes share contexts, the application must be responsible for providing concurrency for data and for services. Shared data is usually read-only, which means there will not be any conflicts. However, when processes can modify the shared data, there is the potential for data inconsistency that the application must prevent or handle. Some services do not support concurrency, so the application must employ a locking mechanism to avoid potential conflicts. One implementation for a locking mechanism is a shared semaphore.
Go up to
Concept