semaphores and multithreading

Daniel Eischen eischen at vigrid.com
Wed Jun 25 06:48:37 PDT 2003


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



More information about the freebsd-threads mailing list