From mboxrd@z Thu Jan 1 00:00:00 1970 From: nanakos@wired-net.gr Subject: Re: about posix threads. Date: Tue, 20 May 2003 11:37:49 +0300 (EEST) Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <2746.195.251.244.232.1053419869.squirrel@webmail.wired-net.gr> References: <3EC9C22B.9090100@hq.ntsp.nec.co.jp> Mime-Version: 1.0 Return-path: Received: from wired-net.gr (localhost.localdomain [127.0.0.1]) by enigma.wired-net.gr (******/******) with SMTP id h4K8bmxh008624; Tue, 20 May 2003 11:37:49 +0300 In-Reply-To: <3EC9C22B.9090100@hq.ntsp.nec.co.jp> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Lejanson C. Go" Cc: linux-c-programming@vger.kernel.org > > i made a pthread program and i am quite puzzled why my program > spawns 4 threads.. when i view it in linux console. > > i used 'ps -ax | grep myprog' command to get the processes for > my application and to my surprise it spawns 4 threads.. when i > only expected 3.. one for main, one for event, and one for recvdata. > > spawnXXXXXX functions create new threads.. > > i really need ur help. can anyone tell me why this occur? > > thanks a lot... > > > lejanson > Can you provide us with all the source code???? > - > To unsubscribe from this list: send the line "unsubscribe > linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >