Text this: Multi-class scheduling technique using dual threshold