public SchedulingThread(String name,LockType lockType){
  super(name);
  this.lockType=lockType;
}

public SchedulingThread ( String name , LockType lockType ) { super ( name ) ; this . lockType = lockType ; }
creates a new schedulingthread object .
