From owner-freebsd-threads@FreeBSD.ORG Wed Jun 25 00:15:40 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5014337B401 for ; Wed, 25 Jun 2003 00:15:40 -0700 (PDT) Received: from hotmail.com (law9-f105.law9.hotmail.com [64.4.9.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0E4944001 for ; Wed, 25 Jun 2003 00:15:39 -0700 (PDT) (envelope-from chaudharyanurag@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 25 Jun 2003 00:15:39 -0700 Received: from 202.144.62.166 by lw9fd.law9.hotmail.msn.com with HTTP; Wed, 25 Jun 2003 07:15:39 GMT X-Originating-IP: [202.144.62.166] X-Originating-Email: [chaudharyanurag@hotmail.com] From: "Anurag Chaudhary" To: freebsd-threads@freebsd.org Date: Wed, 25 Jun 2003 12:45:39 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Jun 2003 07:15:39.0868 (UTC) FILETIME=[9508D1C0:01C33AE9] Subject: semaphores and multithreading X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 07:15:40 -0000 hi I am having a multi-threaded application. the child thread has to wait on a semaphore but when it does so the parent thread stops responding and taking inputs from the keyboard. I tried changing the scheduling policy and priority of the child thread but in vain. child thread is created with default attributes. Can anybody figure out some solution for this? urgent help required thanx Chaudhary Anurag _________________________________________________________________ Take this online tour. Win an HCL Beanstalk PC. http://server1.msn.co.in/sp03/hclbeanstalktour/amazing_winxp.html