제가 쓰레드를 생성한다고 할때 특정 코드?기능을 임위로 넣을수 있을까요 ??? 예를 들면 생성되는 모든 쓰레드가 종료되는 시점에는 exit thread 를 출력하게 한다던지 하는 것을요.... ㅜㅡ 제가 설명을 잘 못하겠네요 ㅜㅡ
스레드 루틴의 시작부분에서 개체를 하나 생성하시고 그 개체의 소멸자에서 exit thread를 찍게 하면 되겠지요.
-- This is for you new people. I have just one rule : Everyone fights, no one quits. If you don't do your job, I'll shoot you myself. Do you get me?
--
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
스레드를 직접 생성하신다면야.
스레드 루틴의 시작부분에서 개체를 하나 생성하시고 그 개체의 소멸자에서 exit thread를 찍게 하면 되겠지요.
--
This is for you new people. I have just one rule :
Everyone fights, no one quits. If you don't do your job, I'll shoot you myself. Do you get me?
--
댓글 달기