I wrote a LockedList decorator. How can i test it?

后端 未结 0 559
名媛妹妹
名媛妹妹 2021-01-15 07:46
from threading import Lock
from threading import Thread

class LockedList(list):
    def __init__(self, *args, **kwargs):
        self._lock = Lock()
        super(L         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题