Data processing system and method for allocating time slots