Merge "fix spelling mistakes"
This commit is contained in:
commit
5e9ea5acef
@ -69,7 +69,7 @@ do whatever they are supposed to do. In a callback-less world this would work li
|
||||
C->my_random_very_difficult_to_remember_method_about_router_created()
|
||||
|
||||
If B and/or C change, things become sour. In a callback-based world, things become a lot
|
||||
more uniform and straightward:
|
||||
more uniform and straightforward:
|
||||
|
||||
::
|
||||
|
||||
@ -319,7 +319,7 @@ Is the registry thread-safe?
|
||||
|
||||
Short answer is no: it is not safe to make mutations while callbacks are being called (more
|
||||
details as to why can be found `here <https://hg.python.org/releasing/2.7.9/file/753a8f457ddc/Objects/dictobject.c#l937>`_).
|
||||
A mutation could happen if a 'subscribe'/'unsuscribe' operation interleaves with the execution
|
||||
A mutation could happen if a 'subscribe'/'unsubscribe' operation interleaves with the execution
|
||||
of the notify loop. Albeit there is a possibility that things may end up in a bad state, the
|
||||
registry works correctly under the assumption that subscriptions happen at the very beginning
|
||||
of the life of the process and that the unsubscriptions (if any) take place at the very end.
|
||||
|
Loading…
Reference in New Issue
Block a user