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 | 29 | 30 |
31 |
Tags
- layout
- Graphic
- 메서드
- 배열
- Android
- oracle
- JavaScript
- struts2
- 메소드
- 국제화
- Eclips
- mybatis
- AWT
- HTML
- 이클립스
- 안드로이드
- Menu
- paint
- JSP
- 어노테이션
- Spring
- 예외처리
- 오버로딩
- 에러페이지
- 생성자
- 기본
- 전화걸기
- Java
- OGNL
- 클래스
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