~gagern/bzr/bug396819-lazy_import-threadsafe

Viewing all changes in revision 6112.

  • Committer: Martin von Gagern
  • Date: 2011-08-31 00:58:09 UTC
  • Revision ID: martin.vgagern@gmx.net-20110831005809-ms9q7n9f2la29e5c
Make lazy imports (at least more) thread-safe.

Now we allow for proxying and repeated replacements by default. We only
disallow both during selftests, so that we may catch possible performance
issues due to failed replacements and excessive indirection.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: