5 ms·
I've implemented something similar using Eli Bendersky's example [1] as a guide. His example adds a stop event. I pass my worker thread lambdas, so that arbitra
by eidorb 14y ago
I've implemented something similar using Eli Bendersky's example [1] as a guide. His example adds a stop event. I pass my worker thread lambdas, so that arbitrary tasks can be carried out.
[1] http://eli.thegreenplace.net/2011/12/27/python-threads-communication-and-stopping/ http://eli.thegreenplace.net/2011/12/27/python-threads-commu...