Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Android
- 예외처리
- Java
- OGNL
- JSP
- Graphic
- 전화걸기
- AWT
- mybatis
- 메소드
- struts2
- 생성자
- 클래스
- Eclips
- 메서드
- 에러페이지
- paint
- 기본
- 국제화
- 오버로딩
- 어노테이션
- Spring
- HTML
- layout
- Menu
- 배열
- JavaScript
- oracle
- 이클립스
- 안드로이드
Archives
- Today
- Total
목록priority (1)
note
Thread Priority
package com.basic;//Thread Priority이용하여 우선순위 높이기 public class ThreadEx9 { public static void main(String[] args){ ThreadEx9_1 th1 = new ThreadEx9_1(); ThreadEx9_2 th2 = new ThreadEx9_2(); //우선순위를 기본우선순위(5) - > 7 th2.setPriority(7); System.out.println("Priority of th1(-) : "+th1.getPriority()); System.out.println("Priority of th2(|) : "+th2.getPriority()); th1.start(); th2.start(); } } class Thre..
자바/스레드
2011. 12. 30. 17:17