Show HN: a multiProcess scheduler in Python
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. To be more specific, 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 that's what I did, 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?