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