
On 2016-08-29 02:50, Thales filizola costa wrote:
Hey guys,
I was recently involved in a job change, and for that I have been doing a lot of programming interviews (white board questions). One common question on those interviews were: "how to implement a scheduler?" follow up by "how to make it multi-processing?". I have to confess that I only had a clue on how to do that.
After the interview period, I started searching for a solution for that, and could not find one. The std python implementation for a scheduler says "No multi-threading is implied; you are supposed to hack that yourself, or use a single instance per application."
So, I hacked my own implementation of a multi-process scheduler in python:
https://github.com/thalesfc/Multprocess-Scheduler
What do you guys think? How to improve it? Is it relevant enough to be incorporated to std python ?
Try putting it on PyPI and see how much use it gets.