setPriority() 공개 메소드

public setPriority ( int arg0 ) : void
arg0 int
리턴 void
 /// <summary>
 /// Create a thread.
 /// </summary>
 /// <seealso cref= ThreadFactory#newThread(java.lang.Runnable) </seealso>
 public virtual java.lang.Thread newThread(Runnable r)
 {
     java.lang.Thread thread = new java.lang.Thread(group, r, namePrefix + threadNumber.getAndIncrement(), 0);
     thread.setDaemon(isDaemon);
     if (thread.getPriority() != Thread.NORM_PRIORITY)
     {
         thread.setPriority(Thread.NORM_PRIORITY);
     }
     return(thread);
 }