Python get data with lock and sleep thread

前端 未结 0 1564
-上瘾入骨i
-上瘾入骨i 2020-12-06 19:54

I have 3 threads that work on one data. So, I want to get an element from the dataset by a thread and sleep it after that. So it will look like that:

import t         


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