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 ?

Thanks, Thales.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to