From: Casper.Dik@Holland.Sun.COM (Casper H.S. Dik - Network Security Engineer)
Subject: Re: See if you can run this
Date: 1997/05/13 [thread overview]
Message-ID: <casper.863507946@uk-usenet.uk.sun.com> (raw)
In-Reply-To: 33776eb4.19046817@news.elt.com
blb@elt.com (Luke Braly) writes:
> If you are able to multi-thread on your Unix implementation, I'd be
>interested to see if you can run the program below. It uses msem_
>type semaphores in conjunction with threads. A colleague of mine says
>it won't work on some Unix systems because the process (as opposed to
>a thread) will be locked, thus causing the program to hang if two
>threads in the same process lock the same semaphore. However, it works
>fine under AIX.
>msemaphore *sem;
What's that?
There's no such thing in Solaris (so it won't even compile).
If you use pthreads, why not use POSIX semaphores?
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
prev parent reply other threads:[~1997-05-13 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-12 4:00 See if you can run this Luke Braly
1997-05-12 4:00 ` Andrew Gabriel
1997-05-13 4:00 ` Casper H.S. Dik - Network Security Engineer [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox