[En-Nut-Discussion] about thread

Harald Kipp harald.kipp at egnite.de
Wed Dec 4 12:24:17 CET 2002


Mr Cho,

The loop starts the service thread 4 times:

     for(i = 1; i <= 4; i++) {
         char *thname = "httpd0";

         thname[5] = '0' + i;
         NutThreadCreate(thname, Service, (void *)(u_short)i, 640);
     }


Harald Kipp


At 20:14 04.12.2002 +0900, you wrote:
>Mr Kipp
>
>Sorry,
>
>Isn't there two thread in httpd.c?
>that is,
>THREAD(Service, arg)
>THREAD(NutMain, arg)
>
>Is there any ohter thread in httpd.c?
>
>Why four?
>
>Kind regards
>Mr Cho
>
>
>
>_____________________________________________________________________
>µðÁöÅ» Ä«¸Þ¶ó¿Í Âû¶± ±ÃÇÕ- ¾ßÈÄ! »çÁø
>http://kr.photos.yahoo.com/
>Ä£±¸µé°ú ÇÔ²² ¹Ù²ãº¸¼¼¿ä. - ¾ßÈÄ! ¸Þ½ÅÀú
>http://kr.messenger.yahoo.com/
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list