From: Andrew Hastings <abh+@transarc.com>
Subject: Re: Threads and shared memory
Date: Fri, 17 Sep 1993 16:05:04 GMT [thread overview]
Message-ID: <CDIA0I.4C.2@cs.cmu.edu> (raw)
In-Reply-To: CDI44s.968@atria.com
In article <CDI44s.968@atria.com> mishkin@atria.com (Nathaniel Mishkin) writes:
>Bruno.Richoux (brunor@cnmat5.frec.bull.fr) wrote:
>: 1) Are the UNIX system calls semop and semctl blocking : if the semaphore is locked, a call to semop by a thread blocks the thread or blocks the process ?
>
>: 2) Related to 1), are there jacket routines developped for primitives
>: handling shared memory and / or semaphores and where can I get the
>: information (I've got the DCE thread sources).
>
> the semaphore ops will block all the threads (i.e., the
>whole process). Short of polling, I don't think there's a way to
>write jacket routines for the semaphore ops.
HP's DCE has non-blocking wrappers for semaphore operations.
Yes, they use polling.
-Andrew Hastings abh+@transarc.com
next prev parent reply other threads:[~1993-09-17 16:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-16 9:36 Threads and shared memory Bruno.Richoux
1993-09-17 13:58 ` Nathaniel Mishkin
1993-09-17 13:44 ` David Wright
1993-09-17 16:05 ` Andrew Hastings [this message]
1993-09-17 16:21 ` Douglas C. Schmidt
1993-09-17 20:02 ` Nathaniel Mishkin
1993-09-18 18:21 ` Douglas C. Schmidt
1993-09-19 23:12 ` Dave Weisman
1993-09-22 20:07 ` Brian Sturgill
1993-09-23 1:20 ` Douglas C. Schmidt
1993-09-23 13:09 ` Nathaniel Mishkin
1993-09-27 13:54 ` George J. Carrette
1993-09-17 14:48 ` Dave McCracken
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