Create general-thread-scheduler.py