Can I call a thread recurrently from within a thread?
问题 I'm trying to transfer samples from thread A ("Acquisition") to thread B ("P300") using queue but I can't read any data in thread B, although samples are being allocated in thread A. Judging by my output, I think my thread B is rushing and testing things before my thread A starts to put data in. See an approximation of my code structure bellow: import threading import queue from queue import Empty import numpy as np import warnings warnings.filterwarnings("error") class AcqThread(threading