Subject: Re: Trouble with semaphores
To: Michal Pasternak <firstname.lastname@example.org>
From: tld <email@example.com>
Date: 04/20/2002 15:32:52
> Add pth package to your NetBSD box, s/sem/pth/, off you go.
> But I may be very wrong here, use my advice at your own risk.
sem_wait (wait for semaphore) is very different from pth_wait (wait for
pth supports mutex, rwlocks, condition variables and barriers.
Is there any chance I can do that with pth?
I have mit-pthreads already installed, can I do that with it?
Is there any real difference between different pthread implementations?
Which is better??
Thank you for your attention.