Hacker News new | ask | show | jobs
by eidorb 4848 days 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-commu...