« Previous | Next » 

Revision dbb11e8b

IDdbb11e8b7e14ec3028966a2479d42447bec153b2

Added by Guido Trotter almost 14 years ago

ssynchronized: act on a class member

The ssynchronized decorator takes the lock to act on in input.
With this change we allow a string to be passed, and if so we assume the
function it protects is a class method, and we act on the member of the
class itself named as the string we got.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences