Skip to content

Commit 3b7065e

Browse files
committed
add a note about singleton breakage
1 parent c4e7590 commit 3b7065e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ It is intended that the crate should be usable from multiple threads.
2727
However, this is generally implemented using singletons, which may be really
2828
annoying for your use-case.
2929

30+
The current way the singleton is managed is awful, and it's not been fixed
31+
while I've been learning about the problems. A major version bump, and a
32+
proper singleton, may resolve some of the issues. This needs to be done eventually.
33+
3034
`apt` does not have a concurrency model: you may not use threads.
3135

3236
Since `apt` 1.4 or 1.5 (in Debian Stretch (2017), but not in Xenial 16.04),

0 commit comments

Comments
 (0)