semaphores and multithreading

Anurag Chaudhary chaudharyanurag at hotmail.com
Wed Jun 25 16:07:37 PDT 2003


I am using sys V semaphores with pthread library on freebsd 5.0 release


>From: Daniel Eischen <eischen at vigrid.com>
>To: Julian Elischer <julian at elischer.org>
>CC: Anurag Chaudhary <chaudharyanurag at hotmail.com>,   
>freebsd-threads at 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



More information about the freebsd-threads mailing list