public void enqueueJob(final Runnable job){
synchronized (mSleepSync) {
    if (hasJob()) {
      throw new IllegalStateException("Job already enqueued");
    }
    setJob(job);
    mSleepSync.notifyAll();
  }
}

public void enqueueJob ( final Runnable job ) { synchronized ( mSleepSync ) { if ( hasJob ( ) ) { throw new IllegalStateException ( "Job already enqueued" ) ; } setJob ( job ) ; mSleepSync . notifyAll ( ) ; } }
enqueue a job for this thread
