From owner-freebsd-threads@FreeBSD.ORG Wed Jun 25 06:48:37 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 91A8E37B401 for ; Wed, 25 Jun 2003 06:48:37 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE0243FEA for ; Wed, 25 Jun 2003 06:48:36 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h5PDmUXh022903; Wed, 25 Jun 2003 09:48:30 -0400 (EDT) Date: Wed, 25 Jun 2003 09:48:30 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Julian Elischer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: 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 13:48:37 -0000 On Wed, 25 Jun 2003, Julian Elischer wrote: > Which thread library are you using? > And on what release of the OS? > > > On Wed, 25 Jun 2003, Anurag Chaudhary wrote: > > > 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? What kind of semaphores? Libc_r and SysV semaphores will not work together. -- Dan Eischen