Decorators

kinto.core.decorators.synchronized(method)

Class method decorator to make sure two threads do not execute some code at the same time (c.f Java synchronized keyword).

The decorator installs a mutex on the class instance.