Thread t = Thread.currentThread();
t.setName (
"My Thread"
);
t.setPriority (
1
System.out.println (
"current thread: "
+ t );