From mboxrd@z Thu Jan 1 00:00:00 1970 From: "MuthuKumar" Subject: thread programming Date: Fri, 2 Apr 2004 17:22:42 +0530 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: Return-path: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org Hai All. I have tried the basic thread program as #include #include #include void *fun() { printf("Hai\n"); pthread_exit((void *)8); } main() { pthread_t t[10]; int res,ret; int i=0,loop=10; for(i=0;i Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.648 / Virus Database: 415 - Release Date: 3/31/2004