Custom Threading Schedulers for CB Code