阅读背景:

可以创建一个知道方法对象的@synchronized装饰器吗?

来源:互联网 

I'm trying to create a @synchronized wrapper that creates one Lock per object and makes method calls thread safe. I can only do this if I can access method.im_self of the method in the wrapped method.I'm trying to create a @synchronized wrapper th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: