Skip to content

Instantly share code, notes, and snippets.

View wicksome's full-sized avatar
🪐
programming happily everyday

yeongjun.kim wicksome

🪐
programming happily everyday
View GitHub Profile
@wicksome
wicksome / DaemonThread.java
Created August 2, 2014 15:30
데몬 쓰레드 예제
public class DaemonThread implements Runnable {
public static void main(String[] args) {
Thread th = new Thread(new DaemonThread());
th.setDaemon(true);
th.start();
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();