public static int TC11() throws InterruptedException {
CThreadInvoker l_oCThreadInvoker;
int l_nCnt = 0;
int l_nCntMax = 2; // an use should implement.
(new CThreadInvoker() {
public void run() {
m_SetNonFunctionalEnv();
}
}).start();
Thread.sleep(1000);
for(; l_nCnt
l_oCThreadInvoker.start();
}
return 1;
}
public int TC3() {
Thread l_oThread1 = (new Thread("Thread 1") {
public void run() {
while(true) {
System.out.println("Thread 1\n");
}
}
});
return 1;
}
'Java Programming' 카테고리의 다른 글
Java Memory Model (0) | 2008.10.08 |
---|---|
downcasting/upcasting (with static) (0) | 2008.09.19 |
Creating a directory (0) | 2008.07.30 |
Java File I/O(Writing) (0) | 2008.07.18 |
Java file I/O (0) | 2008.07.18 |