Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 04:37:34 +0530
From:      "Anurag Chaudhary" <chaudharyanurag@hotmail.com>
To:        eischen@vigrid.com, julian@elischer.org
Cc:        freebsd-threads@freebsd.org
Subject:   Re: semaphores and multithreading
Message-ID:  <Law9-F99d5CxSPs5Pd60000021f@hotmail.com>

next in thread | raw e-mail | index | archive | help
I am using sys V semaphores with pthread library on freebsd 5.0 release


>From: Daniel Eischen <eischen@vigrid.com>
>To: Julian Elischer <julian@elischer.org>
>CC: Anurag Chaudhary <chaudharyanurag@hotmail.com>,   
>freebsd-threads@freebsd.org
>Subject: Re: semaphores and multithreading
>Date: Wed, 25 Jun 2003 09:48:30 -0400 (EDT)
>
>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
>

_________________________________________________________________
Smile a little. Enjoy the summer with Joggers' Park! 
http://server1.msn.co.in/sp03/joggerspark/index.asp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law9-F99d5CxSPs5Pd60000021f>