Tags
- postman collection variables
- postman html parse
- postman collection
- MFC
- solidity
- postman session
- postman
- UI/UX Engineer
- Unity
- emplace_back
- Android/iOS Developer
- postman tests
- 우수한 프런트 개발자
- postman excel
- 다빈치 리졸브
- Android
- web developer
- oracle
- Java
- postman csv
- LSL_Script
- Front-end developer
- c#
- 좋은 개발자
- C++
- Interaction developer
- 프런트엔드
- postman pre-request
- Intellij
- postman automations
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Archives
- Today
- Total
david's daily developer note
[Android] Thread 강제 종료 설정. 본문
728x90
private Thread Update = new Thread() {
public void run() {
// TO DO:
}
};
Update .setDaemon(true);
Update .start();
Update .setDaemon(true);
Update .start();
안드로이드에서, 위와 같은 Update스레드를 구동하기 전에(순서가 중요함~)
setDaemon(true); -
함수를 호출하여 True값을 지정하면, Update 스레드는 메인 스레드가 종료될 때, 강제 종료된다. 깔끔한 코딩.
728x90
'Develop (kids)' 카테고리의 다른 글
LSL_Script 오브젝트 선택시에, 웹페이지 연결하기. (0) | 2011.04.19 |
---|---|
SL Second Life Viewer2 로컬 OpenSim 서버 접속 하기. (0) | 2011.04.19 |
[Android] Layout- EditText의 Multi Line 속성 주기 (0) | 2011.04.05 |
표준편차 (0) | 2011.01.19 |
Blank Padding _ CHAR, VARCHAR 차이. (0) | 2010.12.22 |