« Previous | Next » 

Revision f78ede4e

Parent 42a999d1
Child 08a6c581

Added by Guido Trotter about 15 years ago

ConfigWriter: synchronize access

Since we share the ConfigWriter we need somehow to make sure that
accessing it is properly synchronized. We'll do it using the
locking.ssynchronized decorator and a module-private shared lock.

This patch also renames a few functions, which were called inside the
ConfigWriter, to a private version _UnlockedFunctionName, and exports
the synchronized public ones. The internal callers, which are already
synchronized, are then changed to use the _Unlocked version, to prevent
double locking.

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences